diff options
author | Gael Guennebaud <g.gael@free.fr> | 2009-07-28 17:37:22 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2009-07-28 17:37:22 +0200 |
commit | 1ba35248e96dc5002e2394086886cbc617d85dc6 (patch) | |
tree | d821ce4eaf25c9451948223cfcd4b00aafbdf2e0 /Eigen | |
parent | 54804eb62642ab1be510e41db9b573c6f6151bf2 (diff) | |
parent | 8d2cd744b0977164795587196457e0766cc53a90 (diff) |
synch with main branch
Diffstat (limited to 'Eigen')
-rw-r--r-- | Eigen/src/Core/Matrix.h | 2 |
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; } |