# HG changeset patch # User John W. Eaton # Date 1294918292 18000 # Node ID f3d0b69c46280e6966ad687c2b07fd0c27481dcb # Parent fc35194006d642920b185b47c0947745b67a6df0 SparseQR.cc, SparseCmplxQR.cc: fix member initialization order diff -r fc35194006d6 -r f3d0b69c4628 liboctave/ChangeLog --- 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 + + * 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 * oct-fftw.cc (octave_fftw_planner::octave_fftw_planner, diff -r fc35194006d6 -r f3d0b69c4628 liboctave/SparseCmplxQR.cc --- 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; diff -r fc35194006d6 -r f3d0b69c4628 liboctave/SparseQR.cc --- 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;