aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/NoAlias.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2013-12-07 17:17:47 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2013-12-07 17:17:47 +0100
commit2ca0ccd2f2a88e7bae3c502ec2082178506a3d81 (patch)
treef4ea844e4edf0e55c42aa4e22248461c9564eee9 /Eigen/src/Core/NoAlias.h
parent8d8acc3ab4f0b3f45f2a8bc25c0b7f5f66a22024 (diff)
Add support for triangular products with evaluators
Diffstat (limited to 'Eigen/src/Core/NoAlias.h')
-rw-r--r--Eigen/src/Core/NoAlias.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Eigen/src/Core/NoAlias.h b/Eigen/src/Core/NoAlias.h
index 6ac525336..3c9c951f0 100644
--- a/Eigen/src/Core/NoAlias.h
+++ b/Eigen/src/Core/NoAlias.h
@@ -40,6 +40,8 @@ class NoAlias
EIGEN_DEVICE_FUNC
EIGEN_STRONG_INLINE ExpressionType& operator=(const StorageBase<OtherDerived>& other)
{
+ // TODO either call resize here or call "call_assignment" through m_expression.lazyAssign() ??
+ m_expression.resizeLike(other.derived());
call_assignment(*this, other.derived(), internal::assign_op<Scalar>());
return m_expression;
}