diff --git a/Eigen/src/Core/NoAlias.h b/Eigen/src/Core/NoAlias.h index 9d6cab7f9..30ddbeb3c 100644 --- a/Eigen/src/Core/NoAlias.h +++ b/Eigen/src/Core/NoAlias.h @@ -72,11 +72,11 @@ class NoAlias template EIGEN_STRONG_INLINE ExpressionType& operator+=(const CoeffBasedProduct& other) - { return m_expression.derived() += CoeffBasedProduct(other.lhs(), other.rhs()); } + { return m_expression.derived() += CoeffBasedProduct(other.lhs(), other.rhs()); } template EIGEN_STRONG_INLINE ExpressionType& operator-=(const CoeffBasedProduct& other) - { return m_expression.derived() -= CoeffBasedProduct(other.lhs(), other.rhs()); } + { return m_expression.derived() -= CoeffBasedProduct(other.lhs(), other.rhs()); } #endif protected: diff --git a/Eigen/src/Core/Product.h b/Eigen/src/Core/Product.h index e643b2ea7..07aeae165 100644 --- a/Eigen/src/Core/Product.h +++ b/Eigen/src/Core/Product.h @@ -146,7 +146,7 @@ struct ProductReturnType { typedef typename ei_nested::type >::type LhsNested; typedef typename ei_nested::type >::type RhsNested; - typedef CoeffBasedProduct Type; + typedef CoeffBasedProduct Type; };