synch with main branch

This commit is contained in:
Gael Guennebaud 2009-07-28 17:37:22 +02:00
commit 1ba35248e9

View File

@ -571,7 +571,7 @@ class Matrix
template<typename OtherDerived> template<typename OtherDerived>
EIGEN_STRONG_INLINE Matrix& _set(const MatrixBase<OtherDerived>& other) 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; return *this;
} }