Mercurial > hg > octave-nkf
diff liboctave/floatSVD.h @ 11498:367bfee35ba0
data member initialization fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 13 Jan 2011 02:37:45 -0500 |
parents | 3ce0c530a9c9 |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/liboctave/floatSVD.h +++ b/liboctave/floatSVD.h @@ -36,21 +36,27 @@ { public: - FloatSVD (void) : sigma (), left_sm (), right_sm () { } + FloatSVD (void) : type_computed (), sigma (), left_sm (), right_sm () { } FloatSVD (const FloatMatrix& a, SVD::type svd_type = SVD::std, SVD::driver svd_driver = SVD::GESVD) - { init (a, svd_type, svd_driver); } + : type_computed (), sigma (), left_sm (), right_sm () + { + init (a, svd_type, svd_driver); + } FloatSVD (const FloatMatrix& a, octave_idx_type& info, - SVD::type svd_type = SVD::std, SVD::driver svd_driver = SVD::GESVD) + SVD::type svd_type = SVD::std, + SVD::driver svd_driver = SVD::GESVD) + : type_computed (), sigma (), left_sm (), right_sm () { info = init (a, svd_type, svd_driver); } FloatSVD (const FloatSVD& a) - : type_computed (a.type_computed), - sigma (a.sigma), left_sm (a.left_sm), right_sm (a.right_sm) { } + : type_computed (a.type_computed), sigma (a.sigma), + left_sm (a.left_sm), right_sm (a.right_sm) + { } FloatSVD& operator = (const FloatSVD& a) {