diff liboctave/floatSCHUR.h @ 11498:367bfee35ba0

data member initialization fixes
author John W. Eaton <jwe@octave.org>
date Thu, 13 Jan 2011 02:37:45 -0500
parents 23d2378512a0
children fd0a3ac60b0e
line wrap: on
line diff
--- a/liboctave/floatSCHUR.h	Thu Jan 13 02:23:38 2011 -0500
+++ b/liboctave/floatSCHUR.h	Thu Jan 13 02:37:45 2011 -0500
@@ -35,18 +35,25 @@
 {
 public:
 
-  FloatSCHUR (void)
-    : schur_mat (), unitary_mat () { }
+  FloatSCHUR (void) : schur_mat (), unitary_mat (), selector (0) { }
 
-  FloatSCHUR (const FloatMatrix& a, const std::string& ord, bool calc_unitary = true)
-    : schur_mat (), unitary_mat () { init (a, ord, calc_unitary); }
+  FloatSCHUR (const FloatMatrix& a, const std::string& ord,
+              bool calc_unitary = true)
+    : schur_mat (), unitary_mat (), selector (0)
+    {
+      init (a, ord, calc_unitary);
+    }
 
   FloatSCHUR (const FloatMatrix& a, const std::string& ord, int& info, 
-         bool calc_unitary = true)
-    : schur_mat (), unitary_mat () { info = init (a, ord, calc_unitary); }
+              bool calc_unitary = true)
+    : schur_mat (), unitary_mat (), selector (0)
+    {
+      info = init (a, ord, calc_unitary);
+    }
 
   FloatSCHUR (const FloatSCHUR& a)
-    : schur_mat (a.schur_mat), unitary_mat (a.unitary_mat) { }
+    : schur_mat (a.schur_mat), unitary_mat (a.unitary_mat), selector (0)
+    { }
 
   FloatSCHUR (const FloatMatrix& s, const FloatMatrix& u);