diff options
author | 2010-07-06 20:53:48 +0200 | |
---|---|---|
committer | 2010-07-06 20:53:48 +0200 | |
commit | bc57c68cf58bc91732ae150d2df2f2151a0d9819 (patch) | |
tree | 623a17874283843fcabaf290bf211d464f354856 /Eigen/src/Core/products/GeneralMatrixMatrix.h | |
parent | e04c3f2cc02d8c4c5378f297ff19cb9251514f94 (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.h | 3 |
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; |