mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
bug #51: add block preallocation mechanism to selfadjoit*matrix product.
This commit is contained in:
@@ -85,7 +85,7 @@ template<typename MatrixType> void nomalloc(const MatrixType& m)
|
||||
m2.template selfadjointView<Lower>().rankUpdate(m1);
|
||||
m2 += m2.template triangularView<Upper>() * m1;
|
||||
m2.template triangularView<Upper>() = m2 * m2;
|
||||
// m1 += m1.template selfadjointView<Lower>() * m2;
|
||||
m1 += m1.template selfadjointView<Lower>() * m2;
|
||||
VERIFY_IS_APPROX(m2,m2);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user