octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63384] [MXE Octave] Error for "inv" with defa


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #63384] [MXE Octave] Error for "inv" with default branch
Date: Sun, 20 Nov 2022 11:22:11 -0500 (EST)

Follow-up Comment #15, bug #63384 (project octave):

FYI --
There are two tests failing with lapack-3.11 (inv and xinv):


processing /home/dima/src/octave/clang_opt/libinterp/corefcn/inv.cc-tst
***** warning <rcond = > assert (inv (NaN (2,2)), NaN (2,2))
!!!!! warning failed.
Expected warning <rcond = >, but got error <ASSERT errors for:  assert (inv
(NaN (2, 2)),NaN (2, 2))

  Location  |  Observed  |  Expected  |  Reason
   (1,1)         Inf          NaN        'NaN' mismatch
   (2,1)         Inf          NaN        'NaN' mismatch
   (1,2)         Inf          NaN        'NaN' mismatch
   (2,2)         Inf          NaN        'NaN' mismatch>

***** test
 [xinv, rcond] = inv (NaN (2,2));
 assert (xinv, NaN (2,2));
 assert (rcond, NaN);
!!!!! test failed
ASSERT errors for:  assert (xinv,NaN (2, 2))

  Location  |  Observed  |  Expected  |  Reason
   (1,1)         Inf          NaN        'NaN' mismatch
   (2,1)         Inf          NaN        'NaN' mismatch
   (1,2)         Inf          NaN        'NaN' mismatch
   (2,2)         Inf          NaN        'NaN' mismatch



If somebody can write a fortran code that reproduces this test, it would help
to push it upstream.

Dmitri.
-- 



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63384>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]