aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/product_notemporary.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-02-12 09:41:56 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-02-12 09:41:56 +0100
commita76950bdab00e36ef7ad8a34e01fdd2e53594ec1 (patch)
tree817fdb1497fde696fc827dbb29202595ac79918d /test/product_notemporary.cpp
parent1701a5d1f83028100799c7dabe55fcd767028e3d (diff)
fix a couple of ICE with gcc 4.0.1
Diffstat (limited to 'test/product_notemporary.cpp')
-rw-r--r--test/product_notemporary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/product_notemporary.cpp b/test/product_notemporary.cpp
index 332858851..9084cde6b 100644
--- a/test/product_notemporary.cpp
+++ b/test/product_notemporary.cpp
@@ -112,7 +112,7 @@ template<typename MatrixType> void product_notemporary(const MatrixType& m)
// Zero temporaries for lazy products ...
VERIFY_EVALUATION_COUNT( Scalar tmp = 0; tmp += Scalar(RealScalar(1)) / (m3.transpose().lazyProduct(m3)).diagonal().sum(), 0 );
- // ... and even no temporary for even deeply (>=2) nested products
+ // ... and even no temporary for even deeply (>=2) nested products
VERIFY_EVALUATION_COUNT( Scalar tmp = 0; tmp += Scalar(RealScalar(1)) / (m3.transpose() * m3).diagonal().sum(), 0 );
VERIFY_EVALUATION_COUNT( Scalar tmp = 0; tmp += Scalar(RealScalar(1)) / (m3.transpose() * m3).diagonal().array().abs().sum(), 0 );