changeset 26160:b9debf4436aa stable

bicg.m: Relax BIST test by 1eps to pass on some systems (bug #55132). * bicg.m: Change tolerance for unpreconditioned residual BIST test to "relres + eps".
author Rik <rik@octave.org>
date Mon, 03 Dec 2018 08:53:37 -0800
parents a4a7e887ddb0
children a61d3d3463e0 b326eeae92d0
files scripts/sparse/bicg.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/sparse/bicg.m	Sat Dec 01 02:48:30 2018 -0800
+++ b/scripts/sparse/bicg.m	Mon Dec 03 08:53:37 2018 -0800
@@ -533,7 +533,7 @@
 %! b = sum (A, 2);
 %! M = magic (5);
 %! [x, flag, relres] = bicg (A, b, [], 2, M);
-%! assert (norm (b - A * x) / norm (b), 0, relres);
+%! assert (norm (b - A * x) / norm (b), 0, relres + eps);
 
 ## Preconditioned technique
 %!testif HAVE_UMFPACK