Mercurial > hg > octave-lyh
changeset 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 | fc35194006d6 |
children | 8837a42205d3 |
files | liboctave/ChangeLog liboctave/SparseCmplxQR.cc liboctave/SparseQR.cc |
diffstat | 3 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,10 @@ +2011-01-13 John W. Eaton <jwe@octave.org> + + * SparseCmplxQR.cc + (SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep): + Correct order of member initialization. + * SparseQR.cc (SparseQR::SparseQR_rep::SparseQR_rep): Likewise. + 2011-01-13 John W. Eaton <jwe@octave.org> * oct-fftw.cc (octave_fftw_planner::octave_fftw_planner,
--- a/liboctave/SparseCmplxQR.cc +++ b/liboctave/SparseCmplxQR.cc @@ -50,7 +50,7 @@ SparseComplexQR::SparseComplexQR_rep::SparseComplexQR_rep (GCC_ATTR_UNUSED const SparseComplexMatrix& a, GCC_ATTR_UNUSED int order) - : count (1), nrows (0), N (0), S (0) + : count (1), nrows (0), S (0), N (0) { #ifdef HAVE_CXSPARSE CXSPARSE_ZNAME () A;