comparison liboctave/CmplxHESS.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 ComplexHESS (void) : hess_mat (), unitary_hess_mat () { } 37 ComplexHESS (void) : hess_mat (), unitary_hess_mat () { }
38 38
39 ComplexHESS (const ComplexMatrix& a) { init (a); } 39 ComplexHESS (const ComplexMatrix& a)
40 : hess_mat (), unitary_hess_mat ()
41 {
42 init (a);
43 }
40 44
41 ComplexHESS (const ComplexMatrix& a, octave_idx_type& info) { info = init (a); } 45 ComplexHESS (const ComplexMatrix& a, octave_idx_type& info)
46 : hess_mat (), unitary_hess_mat ()
47 {
48 info = init (a);
49 }
42 50
43 ComplexHESS (const ComplexHESS& a) 51 ComplexHESS (const ComplexHESS& 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 ComplexHESS& operator = (const ComplexHESS& a) 54 ComplexHESS& operator = (const ComplexHESS& a)