diff options
author | Gael Guennebaud <g.gael@free.fr> | 2010-02-12 09:41:56 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2010-02-12 09:41:56 +0100 |
commit | a76950bdab00e36ef7ad8a34e01fdd2e53594ec1 (patch) | |
tree | 817fdb1497fde696fc827dbb29202595ac79918d /test/product_notemporary.cpp | |
parent | 1701a5d1f83028100799c7dabe55fcd767028e3d (diff) |
fix a couple of ICE with gcc 4.0.1
Diffstat (limited to 'test/product_notemporary.cpp')
-rw-r--r-- | test/product_notemporary.cpp | 2 |
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 ); |