changeset 18920:534511deb10e stable

Use %!testif HAVE_CHOLMOD for sparse chol test added in cset 161b11e7da2d * chol.cc: Use %!testif HAVE_CHOLMOD for chol %!test on sparse data that was added in cset 161b11e7da2d.
author Mike Miller <mtmiller@ieee.org>
date Tue, 01 Jul 2014 21:55:15 -0400
parents ed41db031752
children 310fd62e9d4b
files libinterp/dldfcn/chol.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/dldfcn/chol.cc	Tue Jul 01 04:48:55 2014 -0400
+++ b/libinterp/dldfcn/chol.cc	Tue Jul 01 21:55:15 2014 -0400
@@ -375,7 +375,7 @@
 /*
 %!assert (chol ([2, 1; 1, 1]), [sqrt(2), 1/sqrt(2); 0, 1/sqrt(2)], sqrt (eps))
 %!assert (chol (single ([2, 1; 1, 1])), single ([sqrt(2), 1/sqrt(2); 0, 1/sqrt(2)]), sqrt (eps ("single")))
-%!test   
+%!testif HAVE_CHOLMOD
 %! ## Bug #42587
 %! A = sparse ([1 0 8;0 1 8;8 8 1]);
 %! [Q, p] = chol (A);