From 59af20b390b5d55961e6bdc6c1dcc0733ac393d6 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 1 Feb 2011 16:46:35 +0100 Subject: extend nomalloc test --- test/nomalloc.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/nomalloc.cpp') 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 void nomalloc(const MatrixType& m) m2.row(0).noalias() -= m1.col(0).adjoint() * m1.template selfadjointView(); m2.row(0).noalias() -= m1.col(0).adjoint() * m1.adjoint().template selfadjointView(); VERIFY_IS_APPROX(m2,m2); + + m2.template selfadjointView().rankUpdate(m1.col(0),-1); + m2.template selfadjointView().rankUpdate(m1.row(0),-1); // The following fancy matrix-matrix products are not safe yet regarding static allocation // m1 += m1.template triangularView() * m2.col(; -- cgit v1.2.3