diff liboctave/CMatrix.cc @ 3180:c17387059fd3

[project @ 1998-09-24 18:59:11 by jwe]
author jwe
date Thu, 24 Sep 1998 19:00:19 +0000
parents fccab8e7d35f
children 7aae2c3636a7
line wrap: on
line diff
--- a/liboctave/CMatrix.cc
+++ b/liboctave/CMatrix.cc
@@ -164,6 +164,7 @@
 // here?
 
 ComplexMatrix::ComplexMatrix (const boolMatrix& a)
+  : MArray2<Complex> (a.rows (), a.cols (), 0.0)
 {
   for (int i = 0; i < a.cols (); i++)
     for (int j = 0; j < a.rows (); j++)
@@ -171,6 +172,7 @@
 }
 
 ComplexMatrix::ComplexMatrix (const charMatrix& a)
+  : MArray2<Complex> (a.rows (), a.cols (), 0.0)
 {
   for (int i = 0; i < a.cols (); i++)
     for (int j = 0; j < a.rows (); j++)