diff liboctave/array/fCMatrix.cc @ 18114:0fa235a252a5 stable

fix cut and paste error in Matrix by ComplexMatrix multiplication operator * fCMatrix.cc (operator * (const FloatMatrix&, const FloatComplexMatrix&)): Fix cut and paste error.
author John W. Eaton <jwe@octave.org>
date Fri, 06 Dec 2013 16:39:56 -0500
parents 49a5a4be04a1
children 4a4897cd6da1 ff4da3c8ed16
line wrap: on
line diff
--- a/liboctave/array/fCMatrix.cc	Thu Dec 05 18:43:42 2013 +0100
+++ b/liboctave/array/fCMatrix.cc	Fri Dec 06 16:39:56 2013 -0500
@@ -3755,7 +3755,7 @@
   if (a.rows () > std::min (m.rows (), a.columns ()) / 10)
     return FloatComplexMatrix (m * real (a), m * imag (a));
   else
-    return m * FloatComplexMatrix (a);
+    return FloatComplexMatrix (m) * a;
 }
 
 /*