Remove redundant test.

This commit is contained in:
Gael Guennebaud 2016-01-26 23:35:30 +01:00
parent 0f8d26c6a9
commit 412bb5a631

View File

@ -81,7 +81,6 @@ template<typename MatrixType> void nomalloc(const MatrixType& m)
m2.template selfadjointView<Lower>().rankUpdate(m1.row(0),-1);
// The following fancy matrix-matrix products are not safe yet regarding static allocation
// m1.col(1) += m1.template triangularView<Upper>() * m2.col(0);
m2.template selfadjointView<Lower>().rankUpdate(m1);
m2 += m2.template triangularView<Upper>() * m1;
m2.template triangularView<Upper>() = m2 * m2;