Mercurial > hg > octave-lyh
diff liboctave/fCmplxSCHUR.cc @ 11498:367bfee35ba0
data member initialization fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 13 Jan 2011 02:37:45 -0500 |
parents | 8a5e980da6aa |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/liboctave/fCmplxSCHUR.cc +++ b/liboctave/fCmplxSCHUR.cc @@ -149,7 +149,7 @@ FloatComplexSCHUR::FloatComplexSCHUR (const FloatComplexMatrix& s, const FloatComplexMatrix& u) -: schur_mat (s), unitary_mat (u) + : schur_mat (s), unitary_mat (u), selector (0) { octave_idx_type n = s.rows (); if (s.columns () != n || u.rows () != n || u.columns () != n) @@ -158,7 +158,8 @@ } FloatComplexSCHUR::FloatComplexSCHUR (const FloatSCHUR& s) -: schur_mat (s.schur_matrix ()), unitary_mat (s.unitary_matrix ()) + : schur_mat (s.schur_matrix ()), unitary_mat (s.unitary_matrix ()), + selector (0) { octave_idx_type n = schur_mat.rows (); if (n > 0)