diff liboctave/SparseQR.cc @ 11528:feb90c7cfc16

Build successfully without HAVE_CXSPARSE
author David Grundberg <individ@acc.umu.se>
date Fri, 14 Jan 2011 21:04:02 +0100
parents fd0a3ac60b0e
children 12df7854fa7c
line wrap: on
line diff
--- a/liboctave/SparseQR.cc
+++ b/liboctave/SparseQR.cc
@@ -30,7 +30,10 @@
 #include "oct-locbuf.h"
 
 SparseQR::SparseQR_rep::SparseQR_rep (const SparseMatrix& a, int order)
-  : count (1), nrows (0), S (0), N (0)
+  : count (1), nrows (0)
+#ifdef HAVE_CXSPARSE
+    , S (0), N (0)
+#endif
 {
 #ifdef HAVE_CXSPARSE
   CXSPARSE_DNAME () A;