changeset 18488:4c2465444a96 stable

Use %!testif HAVE_UMFPACK for sparse lu test added in cset 2a45b6b87bee * lu.cc: Use %!testif HAVE_UMFPACK for lu %!test on sparse data that was added in cset 2a45b6b87bee.
author Mike Miller <mtmiller@ieee.org>
date Tue, 18 Feb 2014 09:59:52 -0500
parents 55e376fd8636
children 477b5916cafe
files libinterp/corefcn/lu.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/lu.cc	Mon Feb 17 03:32:22 2014 -0500
+++ b/libinterp/corefcn/lu.cc	Tue Feb 18 09:59:52 2014 -0500
@@ -574,7 +574,7 @@
 %!error lu ()
 %!error <can not define pivoting threshold> lu ([1, 2; 3, 4], 2)
 
-%!test
+%!testif HAVE_UMFPACK
 %! Bi = [1 2 3 4 5 2 3 6 7 8 4 5 7 8 9];
 %! Bj = [1 3 4 5 6 7 8 9 11 12 13 14 15 16 17];
 %! Bv = [1 1 1 1 1 1 -1 1 1 1 1 -1 1 -1 1];