comparison liboctave/CmplxGEPBAL.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 OCTAVE_API 34 OCTAVE_API
35 ComplexGEPBALANCE 35 ComplexGEPBALANCE
36 { 36 {
37 public: 37 public:
38 38
39 ComplexGEPBALANCE (void) : balanced_mat (), balancing_mat () { } 39 ComplexGEPBALANCE (void)
40 : balanced_mat (), balanced_mat2 (), balancing_mat (), balancing_mat2 ()
41 { }
40 42
41 ComplexGEPBALANCE (const ComplexMatrix& a, const ComplexMatrix& b, const std::string& balance_job) 43 ComplexGEPBALANCE (const ComplexMatrix& a, const ComplexMatrix& b,
44 const std::string& balance_job)
45 : balanced_mat (), balanced_mat2 (), balancing_mat (), balancing_mat2 ()
42 { 46 {
43 init (a, b, balance_job); 47 init (a, b, balance_job);
44 } 48 }
45 49
46 ComplexGEPBALANCE (const ComplexGEPBALANCE& a) 50 ComplexGEPBALANCE (const ComplexGEPBALANCE& a)
47 : balanced_mat (a.balanced_mat), balanced_mat2 (a.balanced_mat2), 51 : balanced_mat (a.balanced_mat), balanced_mat2 (a.balanced_mat2),
48 balancing_mat (a.balancing_mat), balancing_mat2 (a.balancing_mat2) { } 52 balancing_mat (a.balancing_mat), balancing_mat2 (a.balancing_mat2) { }
49 53
50 ComplexGEPBALANCE& operator = (const ComplexGEPBALANCE& a) 54 ComplexGEPBALANCE& operator = (const ComplexGEPBALANCE& a)
51 { 55 {
52 if (this != &a) 56 if (this != &a)
53 { 57 {