diff liboctave/sparse-base-chol.cc @ 5511:e67d027ff4e3

[project @ 2005-10-26 21:13:56 by dbateman]
author dbateman
date Wed, 26 Oct 2005 21:13:57 +0000
parents b4cfbb0ec8c4
children a9bd6c31751f
line wrap: on
line diff
--- a/liboctave/sparse-base-chol.cc	Wed Oct 26 17:50:56 2005 +0000
+++ b/liboctave/sparse-base-chol.cc	Wed Oct 26 21:13:57 2005 +0000
@@ -32,6 +32,7 @@
 #include "quit.h"
 #include "SparseType.h"
 
+#ifdef HAVE_CHOLMOD
 // Can't use CHOLMOD_NAME(drop)(0.0, S, cm). It doesn't treat complex matrices
 template <class chol_type, class chol_elt, class p_type>
 void 
@@ -73,6 +74,7 @@
     }
   Sp [ncol] = pdest;
 }
+#endif
 
 template <class chol_type, class chol_elt, class p_type>
 octave_idx_type