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

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

[Octave-bug-tracker] [bug #63384] Error for "inv(NaN)" with LAPACK 3.11.


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #63384] Error for "inv(NaN)" with LAPACK 3.11.0
Date: Mon, 5 Jun 2023 13:17:07 -0400 (EDT)

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

Fedora's lapack-3.11-04 includes the latest lapack's "fix" for this issue and
with it I see:


octave:1> test libinterp/corefcn/inv.cc-tst
***** warning <rcond = > assert (inv (Inf (2,2)), NaN (2,2))
!!!!! warning failed.
Expected warning <rcond = >, but got error <ASSERT errors for:  assert (inv
(Inf (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>



and with the test program:


$ gfortran bug-63384.f -llapack -lblas
$ ./a.out 
 x = 
                       NaN                       NaN
                       NaN                       NaN
 anorm =                        NaN
 dgetrf info:            0
 ipiv = 
           1           2
 ** On entry to DGECON parameter number  5 had an illegal value
Note: The following floating-point exceptions are signalling:
IEEE_INVALID_FLAG


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]