From 43bb94236589168914f9e3cf742f7eaa188c5dba Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 13 May 2013 10:39:50 +0200 Subject: Add missing support for x.noalias() = ReturnByValue<...> --- Eigen/src/Core/NoAlias.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Eigen/src/Core/NoAlias.h') diff --git a/Eigen/src/Core/NoAlias.h b/Eigen/src/Core/NoAlias.h index 0112c865b..768bfb18c 100644 --- a/Eigen/src/Core/NoAlias.h +++ b/Eigen/src/Core/NoAlias.h @@ -80,6 +80,10 @@ class NoAlias template EIGEN_STRONG_INLINE ExpressionType& operator-=(const CoeffBasedProduct& other) { return m_expression.derived() -= CoeffBasedProduct(other.lhs(), other.rhs()); } + + template + ExpressionType& operator=(const ReturnByValue& func) + { return m_expression = func; } #endif ExpressionType& expression() const -- cgit v1.2.3