Mercurial > hg > octave-nkf
diff liboctave/CMatrix.cc @ 11352:5ea2644b0111
fix cut and paste error in Matrix by ComplexMatrix multiplication operator
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 13 Dec 2010 21:09:09 -0500 |
parents | 7c573eb981eb |
children | 53edbf95fbb6 |
line wrap: on
line diff
--- a/liboctave/CMatrix.cc +++ b/liboctave/CMatrix.cc @@ -3668,7 +3668,7 @@ if (a.rows () > std::min (m.rows (), a.columns ()) / 10) return ComplexMatrix (m * real (a), m * imag (a)); else - return m * ComplexMatrix (a); + return ComplexMatrix (m) * a; } /* Simple Dot Product, Matrix-Vector and Matrix-Matrix Unit tests