Mercurial > octave-nkf
comparison liboctave/floatHESS.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 |
comparison
equal
deleted
inserted
replaced
11497:7bddd70bc838 | 11498:367bfee35ba0 |
---|---|
34 { | 34 { |
35 public: | 35 public: |
36 | 36 |
37 FloatHESS (void) : hess_mat (), unitary_hess_mat () { } | 37 FloatHESS (void) : hess_mat (), unitary_hess_mat () { } |
38 | 38 |
39 FloatHESS (const FloatMatrix& a) { init (a); } | 39 FloatHESS (const FloatMatrix& a) |
40 : hess_mat (), unitary_hess_mat () | |
41 { | |
42 init (a); | |
43 } | |
40 | 44 |
41 FloatHESS (const FloatMatrix& a, octave_idx_type& info) { info = init (a); } | 45 FloatHESS (const FloatMatrix& a, octave_idx_type& info) |
46 : hess_mat (), unitary_hess_mat () | |
47 { | |
48 info = init (a); | |
49 } | |
42 | 50 |
43 FloatHESS (const FloatHESS& a) | 51 FloatHESS (const FloatHESS& a) |
44 : hess_mat (a.hess_mat), unitary_hess_mat (a.unitary_hess_mat) { } | 52 : hess_mat (a.hess_mat), unitary_hess_mat (a.unitary_hess_mat) { } |
45 | 53 |
46 FloatHESS& operator = (const FloatHESS& a) | 54 FloatHESS& operator = (const FloatHESS& a) |