Mercurial > hg > octave-lyh
comparison 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 |
comparison
equal
deleted
inserted
replaced
11527:a10544c699f2 | 11528:feb90c7cfc16 |
---|---|
28 #include "lo-error.h" | 28 #include "lo-error.h" |
29 #include "SparseQR.h" | 29 #include "SparseQR.h" |
30 #include "oct-locbuf.h" | 30 #include "oct-locbuf.h" |
31 | 31 |
32 SparseQR::SparseQR_rep::SparseQR_rep (const SparseMatrix& a, int order) | 32 SparseQR::SparseQR_rep::SparseQR_rep (const SparseMatrix& a, int order) |
33 : count (1), nrows (0), S (0), N (0) | 33 : count (1), nrows (0) |
34 #ifdef HAVE_CXSPARSE | |
35 , S (0), N (0) | |
36 #endif | |
34 { | 37 { |
35 #ifdef HAVE_CXSPARSE | 38 #ifdef HAVE_CXSPARSE |
36 CXSPARSE_DNAME () A; | 39 CXSPARSE_DNAME () A; |
37 A.nzmax = a.nnz (); | 40 A.nzmax = a.nnz (); |
38 A.m = a.rows (); | 41 A.m = a.rows (); |