diff 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
line wrap: on
line diff
--- a/liboctave/CmplxGEPBAL.h	Thu Jan 13 02:23:38 2011 -0500
+++ b/liboctave/CmplxGEPBAL.h	Thu Jan 13 02:37:45 2011 -0500
@@ -36,16 +36,20 @@
 {
 public:
 
-  ComplexGEPBALANCE (void) : balanced_mat (), balancing_mat () { }
+  ComplexGEPBALANCE (void)
+    : balanced_mat (), balanced_mat2 (), balancing_mat (), balancing_mat2 ()
+    { }
 
-  ComplexGEPBALANCE (const ComplexMatrix& a, const ComplexMatrix& b, const std::string& balance_job)
+  ComplexGEPBALANCE (const ComplexMatrix& a, const ComplexMatrix& b,
+                     const std::string& balance_job)
+    : balanced_mat (), balanced_mat2 (), balancing_mat (), balancing_mat2 ()
     {
       init (a, b, balance_job); 
     }
 
   ComplexGEPBALANCE (const ComplexGEPBALANCE& a)
     : balanced_mat (a.balanced_mat), balanced_mat2 (a.balanced_mat2),
-    balancing_mat (a.balancing_mat), balancing_mat2 (a.balancing_mat2) { }
+      balancing_mat (a.balancing_mat), balancing_mat2 (a.balancing_mat2) { }
 
   ComplexGEPBALANCE& operator = (const ComplexGEPBALANCE& a)
     {