Mercurial > octave
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 Thu Jan 13 06:20:33 2011 -0500 +++ b/liboctave/ChangeLog Thu Jan 13 06:31:32 2011 -0500 @@ -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 Thu Jan 13 06:20:33 2011 -0500 +++ b/liboctave/SparseCmplxQR.cc Thu Jan 13 06:31:32 2011 -0500 @@ -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;
--- a/liboctave/SparseQR.cc Thu Jan 13 06:20:33 2011 -0500 +++ b/liboctave/SparseQR.cc Thu Jan 13 06:31:32 2011 -0500 @@ -30,7 +30,7 @@ #include "oct-locbuf.h" SparseQR::SparseQR_rep::SparseQR_rep (const SparseMatrix& a, int order) - : count (1), nrows (0), N (0), S (0) + : count (1), nrows (0), S (0), N (0) { #ifdef HAVE_CXSPARSE CXSPARSE_DNAME () A;