aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/nomalloc.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2011-02-01 16:46:35 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2011-02-01 16:46:35 +0100
commit59af20b390b5d55961e6bdc6c1dcc0733ac393d6 (patch)
tree34fa5564642518f0b0726b6e214f5928d6bf7afd /test/nomalloc.cpp
parentffc8386fdbad7a1e642c9d6fdba977e2d124e619 (diff)
extend nomalloc test
Diffstat (limited to 'test/nomalloc.cpp')
-rw-r--r--test/nomalloc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/nomalloc.cpp b/test/nomalloc.cpp
index 7ef71bfcd..96ff16dae 100644
--- a/test/nomalloc.cpp
+++ b/test/nomalloc.cpp
@@ -104,6 +104,9 @@ template<typename MatrixType> void nomalloc(const MatrixType& m)
m2.row(0).noalias() -= m1.col(0).adjoint() * m1.template selfadjointView<Upper>();
m2.row(0).noalias() -= m1.col(0).adjoint() * m1.adjoint().template selfadjointView<Upper>();
VERIFY_IS_APPROX(m2,m2);
+
+ m2.template selfadjointView<Lower>().rankUpdate(m1.col(0),-1);
+ m2.template selfadjointView<Lower>().rankUpdate(m1.row(0),-1);
// The following fancy matrix-matrix products are not safe yet regarding static allocation
// m1 += m1.template triangularView<Upper>() * m2.col(;