diff liboctave/CMatrix.h @ 10301:9e0ec19df4bc

commit accidentally omitted parts of previous change
author John W. Eaton <jwe@octave.org>
date Wed, 10 Feb 2010 13:57:23 -0500
parents 4c0cdbe0acca
children cbc402e64d83
line wrap: on
line diff
--- a/liboctave/CMatrix.h
+++ b/liboctave/CMatrix.h
@@ -64,6 +64,9 @@
   template <class U>
   ComplexMatrix (const Array2<U>& a) : MArray2<Complex> (a) { }
 
+  template <class U>
+  ComplexMatrix (const Array<U>& a) : MArray2<Complex> (a) { }
+
   ComplexMatrix (const Matrix& re, const Matrix& im);
 
   explicit ComplexMatrix (const Matrix& a);