Mercurial > hg > octave-lyh
diff liboctave/dbleCHOL.h @ 11498:367bfee35ba0
data member initialization fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 13 Jan 2011 02:37:45 -0500 |
parents | cbc402e64d83 |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/liboctave/dbleCHOL.h +++ b/liboctave/dbleCHOL.h @@ -36,12 +36,19 @@ { public: - CHOL (void) : chol_mat () { } + CHOL (void) : chol_mat (), xrcond (0) { } - CHOL (const Matrix& a, bool calc_cond = false) { init (a, calc_cond); } + CHOL (const Matrix& a, bool calc_cond = false) + : chol_mat (), xrcond (0) + { + init (a, calc_cond); + } CHOL (const Matrix& a, octave_idx_type& info, bool calc_cond = false) - { info = init (a, calc_cond); } + : chol_mat (), xrcond (0) + { + info = init (a, calc_cond); + } CHOL (const CHOL& a) : chol_mat (a.chol_mat), xrcond (a.xrcond) { }