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

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

[Octave-bug-tracker] [bug #41290] test failed in chol.cc due to slightly


From: Robert Jenssen
Subject: [Octave-bug-tracker] [bug #41290] test failed in chol.cc due to slightly exceeded tol
Date: Sat, 17 Jun 2023 03:04:41 -0400 (EDT)

Follow-up Comment #4, bug #41290 (project octave):

The following patch fixes a chol.cc test failure on my system:

diff -r dedc746ecd58 libinterp/corefcn/chol.cc
--- a/libinterp/corefcn/chol.cc Fri Jun 16 15:04:39 2023 -0400
+++ b/libinterp/corefcn/chol.cc Sat Jun 17 16:58:21 2023 +1000
@@ -774,7 +774,7 @@
 %!
 %! R1 = cholupdate (R1, uc, "-");
 %! assert (norm (triu (R1)-R1, Inf), 0);
-%! assert (norm (R1 - R, Inf) < 1e1*eps);
+%! assert (norm (R1 - R, Inf) < 2e1*eps);
 
 %!test
 %! R = chol (single (A));




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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