diff libinterp/corefcn/lu.cc @ 18556: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 93c019f00e59
children 4e0d72145c5a 446c46af4b42
line wrap: on
line diff
--- a/libinterp/corefcn/lu.cc
+++ b/libinterp/corefcn/lu.cc
@@ -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];