comparison liboctave/SparseCmplxQR.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
48 #define OCTAVE_C99_ONE cs_complex_t(1., 0.); 48 #define OCTAVE_C99_ONE cs_complex_t(1., 0.);
49 #endif 49 #endif
50 50
51 SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep 51 SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep
52 (GCC_ATTR_UNUSED const SparseComplexMatrix& a, GCC_ATTR_UNUSED int order) 52 (GCC_ATTR_UNUSED const SparseComplexMatrix& a, GCC_ATTR_UNUSED int order)
53 : count (1), nrows (0), N (0), S (0) 53 : count (1), nrows (0), S (0), N (0)
54 { 54 {
55 #ifdef HAVE_CXSPARSE 55 #ifdef HAVE_CXSPARSE
56 CXSPARSE_ZNAME () A; 56 CXSPARSE_ZNAME () A;
57 A.nzmax = a.nnz (); 57 A.nzmax = a.nnz ();
58 A.m = a.rows (); 58 A.m = a.rows ();