mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-13 01:43:13 +08:00
Remove redundant test.
This commit is contained in:
parent
0f8d26c6a9
commit
412bb5a631
@ -81,7 +81,6 @@ template<typename MatrixType> void nomalloc(const MatrixType& m)
|
|||||||
m2.template selfadjointView<Lower>().rankUpdate(m1.row(0),-1);
|
m2.template selfadjointView<Lower>().rankUpdate(m1.row(0),-1);
|
||||||
|
|
||||||
// The following fancy matrix-matrix products are not safe yet regarding static allocation
|
// 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.template selfadjointView<Lower>().rankUpdate(m1);
|
||||||
m2 += m2.template triangularView<Upper>() * m1;
|
m2 += m2.template triangularView<Upper>() * m1;
|
||||||
m2.template triangularView<Upper>() = m2 * m2;
|
m2.template triangularView<Upper>() = m2 * m2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user