aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-07-28 17:37:22 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-07-28 17:37:22 +0200
commit1ba35248e96dc5002e2394086886cbc617d85dc6 (patch)
treed821ce4eaf25c9451948223cfcd4b00aafbdf2e0 /Eigen
parent54804eb62642ab1be510e41db9b573c6f6151bf2 (diff)
parent8d2cd744b0977164795587196457e0766cc53a90 (diff)
synch with main branch
Diffstat (limited to 'Eigen')
-rw-r--r--Eigen/src/Core/Matrix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/Matrix.h b/Eigen/src/Core/Matrix.h
index f21364c70..c4adc1c33 100644
--- a/Eigen/src/Core/Matrix.h
+++ b/Eigen/src/Core/Matrix.h
@@ -571,7 +571,7 @@ class Matrix
template<typename OtherDerived>
EIGEN_STRONG_INLINE Matrix& _set(const MatrixBase<OtherDerived>& other)
{
- _set_selector(other.derived(), typename ei_meta_if<(int(OtherDerived::Flags) & EvalBeforeAssigningBit), ei_meta_true, ei_meta_false>::ret());
+ _set_selector(other.derived(), typename ei_meta_if<static_cast<bool>(int(OtherDerived::Flags) & EvalBeforeAssigningBit), ei_meta_true, ei_meta_false>::ret());
return *this;
}