mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
compilation fix for ICC
This commit is contained in:
parent
cf0f82ecbe
commit
65abb4c52e
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user