diff liboctave/fMatrix.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/fMatrix.h
+++ b/liboctave/fMatrix.h
@@ -61,6 +61,9 @@
   template <class U>
   FloatMatrix (const Array2<U>& a) : MArray2<float> (a) { }
 
+  template <class U>
+  FloatMatrix (const Array<U>& a) : MArray2<float> (a) { }
+
   explicit FloatMatrix (const FloatRowVector& rv);
 
   explicit FloatMatrix (const FloatColumnVector& cv);