changeset 25159:b8279dd83664 stable

Turn off warning about sparse lu factorization in bicg BIST test (bug #53390). * bicg.m: Turn off warning when using a two-output sparse lu factorization.
author Marco Caliari <marco.caliari@univr.it>
date Sun, 08 Apr 2018 10:12:55 +0200
parents 57f150c4fe6d
children 2209bafb745e
files scripts/sparse/bicg.m
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/sparse/bicg.m	Sun Apr 08 16:47:57 2018 -0700
+++ b/scripts/sparse/bicg.m	Sun Apr 08 10:12:55 2018 +0200
@@ -536,6 +536,7 @@
 %!testif HAVE_UMFPACK
 %! A = sparse (toeplitz ([2, 1, 0, 0, 0], [2, -1, 0, 0, 0]));
 %! b = sum (A, 2);
+%! warning ("off", "Octave:lu:sparse_input", "local");
 %! [M1, M2] = lu (A + eye (5));
 %! [x, flag] = bicg (A, b, [], 1, M1, M2);
 %! ## b has two columns!