From 9f7955883918f09648618f89f1551b0b6667343d Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 16 Dec 2009 19:18:40 +0100 Subject: a lot of cleaning and fixes --- test/nomalloc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/nomalloc.cpp') diff --git a/test/nomalloc.cpp b/test/nomalloc.cpp index 12b09efa2..f228519bf 100644 --- a/test/nomalloc.cpp +++ b/test/nomalloc.cpp @@ -64,7 +64,7 @@ template void nomalloc(const MatrixType& m) VERIFY_IS_APPROX((m1+m2)*s1, s1*m1+s1*m2); VERIFY_IS_APPROX((m1+m2)(r,c), (m1(r,c))+(m2(r,c))); - VERIFY_IS_APPROX(m1.cwise() * m1.block(0,0,rows,cols), m1.array()*m1); + VERIFY_IS_APPROX(m1.cwiseProduct(m1.block(0,0,rows,cols)), (m1.array()*m1.array())); if (MatrixType::RowsAtCompileTime