compilation fix for ICC

This commit is contained in:
Gael Guennebaud 2008-10-21 15:43:25 +00:00
parent cf0f82ecbe
commit 65abb4c52e

View File

@ -233,7 +233,8 @@ void MatrixBase<Derived>::solveTriangularInPlace(MatrixBase<OtherDerived>& other
ei_assert(!(Flags & ZeroDiagBit));
ei_assert(Flags & (UpperTriangularBit|LowerTriangularBit));
const bool copy = ei_traits<OtherDerived>::Flags&RowMajorBit;
enum { copy = ei_traits<OtherDerived>::Flags&RowMajorBit };
typedef typename ei_meta_if<copy,
typename ei_eval_to_column_major<OtherDerived>::type, OtherDerived&>::ret OtherCopy;
OtherCopy otherCopy(other.derived());