# HG changeset patch # User Mike Miller # Date 1404266115 14400 # Node ID 534511deb10eaafc2f3138dd0aabd3ce322ccf28 # Parent ed41db0317524c7c45e12dfde8827cf40dca6555 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. diff -r ed41db031752 -r 534511deb10e libinterp/dldfcn/chol.cc --- 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);