From 3eb5253ca1352391f4ea31c4a2dd06c34c4a33e7 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 2 Sep 2014 14:41:14 +0200 Subject: Optimization: "matrix * real" did not call the special path and the real was converted to a complex. Add respective unit test to avoid future regression. --- Eigen/src/Core/MatrixBase.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Eigen/src/Core/MatrixBase.h') 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 class MatrixBase using Base::operator-=; using Base::operator*=; using Base::operator/=; + using Base::operator*; typedef typename Base::CoeffReturnType CoeffReturnType; typedef typename Base::ConstTransposeReturnType ConstTransposeReturnType; -- cgit v1.2.3