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

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

[Octave-bug-tracker] [bug #59486] p variable not always defined in eigs


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #59486] p variable not always defined in eigs function
Date: Fri, 20 Nov 2020 05:27:39 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36 Edg/86.0.622.69

Follow-up Comment #3, bug #59486 (project octave):

A possible "solution" might be to allow approximately 5*eps(65) deviation:

diff -r a23870bdf30e scripts/sparse/eigs.m
--- a/scripts/sparse/eigs.m     Fri Nov 20 11:05:06 2020 +0100
+++ b/scripts/sparse/eigs.m     Fri Nov 20 11:25:31 2020 +0100
@@ -1587,7 +1587,7 @@
 %!testif HAVE_ARPACK <*59486>
 %! A = magic (5);
 %! d = eigs (A, [], 1);
-%! assert (d, 65, 150*eps);
+%! assert (d, 65, 5*eps*65);
 
 ## Test input validation
 %!error <Invalid call> eigs ()



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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