diff options
author | Gael Guennebaud <g.gael@free.fr> | 2016-01-25 22:06:42 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2016-01-25 22:06:42 +0100 |
commit | 8328caa618731fb2a5802daaf8088db4175567a2 (patch) | |
tree | 99899cab70d7b37152dd83c3d4963fb6d72aa0fe /test/nomalloc.cpp | |
parent | 2f9e6314b183d333ad75ec578815073ed9fb390e (diff) |
bug #51: add block preallocation mechanism to selfadjoit*matrix product.
Diffstat (limited to 'test/nomalloc.cpp')
-rw-r--r-- | test/nomalloc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/nomalloc.cpp b/test/nomalloc.cpp index d85e9e5bc..077ecae55 100644 --- a/test/nomalloc.cpp +++ b/test/nomalloc.cpp @@ -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); } |