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

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

[Octave-bug-tracker] [bug #53433] tests: eigs.m: two failing tests on i6


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #53433] tests: eigs.m: two failing tests on i686
Date: Fri, 23 Mar 2018 16:09:07 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0

Update of bug #53433 (project octave):

                  Status:                    None => Patch Submitted        

    _______________________________________________________

Follow-up Comment #3:

On another machine I need to increment d to 6 for the last test only. The
following diff works for me on all my 32-bit test cases:


--- a/scripts/sparse/eigs.m
+++ b/scripts/sparse/eigs.m
@@ -1425,8 +1425,8 @@ endfunction
 %! opts.v0 = (1:100)';
 %! opts.maxit = 1;
 %! warning ("off", "Octave:eigs:UnconvergedEigenvalues", "local");
-%! d = eigs (A, 4, "lm", opts);
-%! assert (d(4), NaN+1i*NaN);
+%! d = eigs (A, 5, "lm", opts);
+%! assert (d(5), NaN+1i*NaN);
 %!testif HAVE_ARPACK
 %! A = 1i * magic (100) + eye (100);
 %! opts.v0 = (1:100)';
@@ -1441,5 +1441,5 @@ endfunction
 %! opts.maxit = 1;
 %! opts.isreal = false;
 %! warning ("off", "Octave:eigs:UnconvergedEigenvalues", "local");
-%! d = eigs (Afun, 100, 4, "lm", opts);
-%! assert (d(4), NaN+1i*NaN);
+%! d = eigs (Afun, 100, 6, "lm", opts);
+%! assert (d(6), NaN+1i*NaN);


Let me know if this is ok with you, or if both should just be bumped to 8 as
you suggested, or if this needs more investigation.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53433>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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