diff src/OPERATORS/op-fm-fcm.cc @ 9665:1dba57e9d08d

use blas_trans_type for xgemm
author Jaroslav Hajek <highegg@gmail.com>
date Sat, 26 Sep 2009 10:41:07 +0200
parents 7e5b4de5fbfe
children fb6b6fcafa62
line wrap: on
line diff
--- a/src/OPERATORS/op-fm-fcm.cc	Wed Sep 23 12:16:06 2009 +0200
+++ b/src/OPERATORS/op-fm-fcm.cc	Sat Sep 26 10:41:07 2009 +0200
@@ -58,8 +58,8 @@
   FloatMatrix m1 = v1.float_matrix_value ();
   FloatComplexMatrix m2 = v2.float_complex_matrix_value ();
 
-  return FloatComplexMatrix (xgemm (true, m1, false, real (m2)),
-                             xgemm (true, m1, false, imag (m2)));
+  return FloatComplexMatrix (xgemm (m1, real (m2), blas_trans, blas_no_trans),
+                             xgemm (m1, imag (m2), blas_trans, blas_no_trans));
 }
 
 DEFBINOP (div, float_matrix, float_complex_matrix)