bug #879: fix compilation of tri1=mat*tri2 by copying tri2 into a full temporary.

This commit is contained in:
Gael Guennebaud 2014-09-22 17:34:17 +02:00
parent abba11bdcf
commit f9d6d3780f

View File

@ -207,7 +207,8 @@ template<typename _MatrixType, unsigned int _Mode> class TriangularView
TransposeMode = (Mode & Upper ? Lower : 0)
| (Mode & Lower ? Upper : 0)
| (Mode & (UnitDiag))
| (Mode & (ZeroDiag))
| (Mode & (ZeroDiag)),
IsVectorAtCompileTime = false
};
EIGEN_DEVICE_FUNC