From 0f3bcf853f3bed0f85079b77b4e92905b2ad0305 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 14 May 2010 08:55:56 +0200 Subject: [PATCH] fix mixing types in inner product --- Eigen/src/Core/Product.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Eigen/src/Core/Product.h b/Eigen/src/Core/Product.h index e4b9b4d69..22240b37a 100644 --- a/Eigen/src/Core/Product.h +++ b/Eigen/src/Core/Product.h @@ -163,7 +163,7 @@ struct ProductReturnType template struct ei_traits > - : ei_traits > + : ei_traits::ReturnType,1,1> > {}; template @@ -432,8 +432,8 @@ inline const typename ProductReturnType::Type MatrixBase::operator*(const MatrixBase &other) const { // A note regarding the function declaration: In MSVC, this function will sometimes - // not be inlined since ei_matrix_storage is an unwindable object for dynamic - // matrices and product types are holding a member to store the result. + // not be inlined since ei_matrix_storage is an unwindable object for dynamic + // matrices and product types are holding a member to store the result. // Thus it does not help tagging this function with EIGEN_STRONG_INLINE. enum { ProductIsValid = Derived::ColsAtCompileTime==Dynamic