aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/products/GeneralMatrixMatrix.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-07-06 20:53:48 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-07-06 20:53:48 +0200
commitbc57c68cf58bc91732ae150d2df2f2151a0d9819 (patch)
tree623a17874283843fcabaf290bf211d464f354856 /Eigen/src/Core/products/GeneralMatrixMatrix.h
parente04c3f2cc02d8c4c5378f297ff19cb9251514f94 (diff)
bug fix forgot to conjugate the scalar factor when needed
Diffstat (limited to 'Eigen/src/Core/products/GeneralMatrixMatrix.h')
-rw-r--r--Eigen/src/Core/products/GeneralMatrixMatrix.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Eigen/src/Core/products/GeneralMatrixMatrix.h b/Eigen/src/Core/products/GeneralMatrixMatrix.h
index 5150daacd..6a9402cba 100644
--- a/Eigen/src/Core/products/GeneralMatrixMatrix.h
+++ b/Eigen/src/Core/products/GeneralMatrixMatrix.h
@@ -73,6 +73,9 @@ static void run(Index rows, Index cols, Index depth,
ei_const_blas_data_mapper<Scalar, Index, LhsStorageOrder> lhs(_lhs,lhsStride);
ei_const_blas_data_mapper<Scalar, Index, RhsStorageOrder> rhs(_rhs,rhsStride);
+ if (ConjugateRhs)
+ alpha = ei_conj(alpha);
+
typedef typename ei_packet_traits<Scalar>::type PacketType;
typedef ei_product_blocking_traits<Scalar> Blocking;