mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 19:29:02 +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 & ZeroDiagBit));
|
||||||
ei_assert(Flags & (UpperTriangularBit|LowerTriangularBit));
|
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,
|
typedef typename ei_meta_if<copy,
|
||||||
typename ei_eval_to_column_major<OtherDerived>::type, OtherDerived&>::ret OtherCopy;
|
typename ei_eval_to_column_major<OtherDerived>::type, OtherDerived&>::ret OtherCopy;
|
||||||
OtherCopy otherCopy(other.derived());
|
OtherCopy otherCopy(other.derived());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user