aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src
diff options
context:
space:
mode:
authorGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-01-12 17:13:46 +0100
committerGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-01-12 17:13:46 +0100
commita87c0a5ed842ceb0076ac2d532ce8daa9b85bfc6 (patch)
treea9af320ebc5cd8c11a77921de1bbc670b76d9f48 /Eigen/src
parent553fb31f7e634b14b586e14ffca9f42899626c0b (diff)
Fixes #83.
Diffstat (limited to 'Eigen/src')
-rw-r--r--Eigen/src/Core/Matrix.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Eigen/src/Core/Matrix.h b/Eigen/src/Core/Matrix.h
index 53ab27412..f5d0de74b 100644
--- a/Eigen/src/Core/Matrix.h
+++ b/Eigen/src/Core/Matrix.h
@@ -187,6 +187,12 @@ class Matrix
return Base::operator=(other);
}
+ template<typename OtherDerived>
+ EIGEN_STRONG_INLINE Matrix& operator=(const ReturnByValue<OtherDerived>& func)
+ {
+ return Base::operator=(func);
+ }
+
using Base::operator +=;
using Base::operator -=;
using Base::operator *=;