diff options
author | Gael Guennebaud <g.gael@free.fr> | 2014-09-02 14:41:14 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2014-09-02 14:41:14 +0200 |
commit | 3eb5253ca1352391f4ea31c4a2dd06c34c4a33e7 (patch) | |
tree | 841bbcfca8d5e802635d1c04cd78c84807290d58 /Eigen/src/Core/MatrixBase.h | |
parent | 305aa1f9c570db60a92e49020f21e70311bbed36 (diff) |
Optimization: "matrix<complex> * real" did not call the special path and the real was converted to a complex. Add respective unit test to avoid future regression.
Diffstat (limited to 'Eigen/src/Core/MatrixBase.h')
-rw-r--r-- | Eigen/src/Core/MatrixBase.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Eigen/src/Core/MatrixBase.h b/Eigen/src/Core/MatrixBase.h index f5987d194..3cb5e04fd 100644 --- a/Eigen/src/Core/MatrixBase.h +++ b/Eigen/src/Core/MatrixBase.h @@ -81,6 +81,7 @@ template<typename Derived> class MatrixBase using Base::operator-=; using Base::operator*=; using Base::operator/=; + using Base::operator*; typedef typename Base::CoeffReturnType CoeffReturnType; typedef typename Base::ConstTransposeReturnType ConstTransposeReturnType; |