From 963794b04a68671d08edaddf1185010c5f02a096 Mon Sep 17 00:00:00 2001 From: Chen-Pang He Date: Sun, 23 Sep 2012 00:20:19 +0800 Subject: Eliminate unnecessary evaluations --- Eigen/src/Core/NoAlias.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Eigen/src/Core/NoAlias.h') diff --git a/Eigen/src/Core/NoAlias.h b/Eigen/src/Core/NoAlias.h index fcf2c479c..ac1396f68 100644 --- a/Eigen/src/Core/NoAlias.h +++ b/Eigen/src/Core/NoAlias.h @@ -81,8 +81,8 @@ class NoAlias EIGEN_STRONG_INLINE ExpressionType& operator-=(const CoeffBasedProduct& other) { return m_expression.derived() -= CoeffBasedProduct(other.lhs(), other.rhs()); } - template - EIGEN_STRONG_INLINE ExpressionType& operator=(const MatrixPowerProductBase& other) + template + EIGEN_STRONG_INLINE ExpressionType& operator=(const MatrixPowerProductBase& other) { other.derived().evalTo(m_expression); return m_expression; } #endif -- cgit v1.2.3