Mercurial > hg > octave-lyh
diff liboctave/CmplxSCHUR.h @ 11498:367bfee35ba0
data member initialization fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 13 Jan 2011 02:37:45 -0500 |
parents | 23d2378512a0 |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/liboctave/CmplxSCHUR.h +++ b/liboctave/CmplxSCHUR.h @@ -36,19 +36,26 @@ { public: - ComplexSCHUR (void) - : schur_mat (), unitary_mat () { } + ComplexSCHUR (void) : schur_mat (), unitary_mat (), selector (0) { } ComplexSCHUR (const ComplexMatrix& a, const std::string& ord, bool calc_unitary = true) - : schur_mat (), unitary_mat () { init (a, ord, calc_unitary); } + : schur_mat (), unitary_mat (), selector (0) + { + init (a, ord, calc_unitary); + } - ComplexSCHUR (const ComplexMatrix& a, const std::string& ord, octave_idx_type& info, + ComplexSCHUR (const ComplexMatrix& a, const std::string& ord, + octave_idx_type& info, bool calc_unitary = true) - : schur_mat (), unitary_mat () { info = init (a, ord, calc_unitary); } + : schur_mat (), unitary_mat (), selector (0) + { + info = init (a, ord, calc_unitary); + } ComplexSCHUR (const ComplexSCHUR& a) - : schur_mat (a.schur_mat), unitary_mat (a.unitary_mat) { } + : schur_mat (a.schur_mat), unitary_mat (a.unitary_mat), selector (0) + { } ComplexSCHUR (const ComplexMatrix& s, const ComplexMatrix& u);