Mercurial > octave-nkf
comparison liboctave/SparseQR.cc @ 11510:f3d0b69c4628
SparseQR.cc, SparseCmplxQR.cc: fix member initialization order
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 13 Jan 2011 06:31:32 -0500 |
parents | 367bfee35ba0 |
children | fd0a3ac60b0e |
comparison
equal
deleted
inserted
replaced
11509:fc35194006d6 | 11510:f3d0b69c4628 |
---|---|
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), N (0), S (0) | 33 : count (1), nrows (0), S (0), N (0) |
34 { | 34 { |
35 #ifdef HAVE_CXSPARSE | 35 #ifdef HAVE_CXSPARSE |
36 CXSPARSE_DNAME () A; | 36 CXSPARSE_DNAME () A; |
37 A.nzmax = a.nnz (); | 37 A.nzmax = a.nnz (); |
38 A.m = a.rows (); | 38 A.m = a.rows (); |