changeset 18426:807e21ebddd5 stable

maint: Style fixes for tests in libinterp/corefcn/lu.cc
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Mon, 03 Feb 2014 11:44:30 -0500
parents 2a45b6b87bee
children 93c019f00e59
files libinterp/corefcn/lu.cc
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/lu.cc	Mon Feb 03 10:54:27 2014 -0500
+++ b/libinterp/corefcn/lu.cc	Mon Feb 03 11:44:30 2014 -0500
@@ -580,11 +580,11 @@
 %! Bv = [1 1 1 1 1 1 -1 1 1 1 1 -1 1 -1 1];
 %! B = sparse (Bi,Bj,Bv);
 %! [L,U] = lu (B);
-%! assert (nnz (B - L*U) == 0);
+%! assert (L*U, B);
 %! [L,U,P] = lu(B);
-%! assert (nnz (B - P'*L*U) == 0);
+%! assert (P'*L*U, B);
 %! [L,U,P,Q] = lu (B);
-%! assert (nnz (B - P'*L*U*Q') == 0);
+%! assert (P'*L*U*Q', B);
 
 */