aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/product.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-08-05 15:23:35 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-08-05 15:23:35 +0200
commit88147e0a91733bde2c095cbe51c20b6d8a32ea88 (patch)
treeb4885ef5e314b9f82433daac68c9c99f3e601849 /test/product.h
parent014c581a5b32330e202e52fc5f9d98d383461da0 (diff)
big refactoring in Product.h:
- all specialized products now inherits ProductBase - the default product evaluated by Assign is still here, but it is currently enabled for small fixed sizes only - => this significantly speed up compilation for large matrices - I left the OuterProduct specialization empty as an exercise...
Diffstat (limited to 'test/product.h')
-rw-r--r--test/product.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/product.h b/test/product.h
index d6aa372db..157f6262b 100644
--- a/test/product.h
+++ b/test/product.h
@@ -91,9 +91,6 @@ template<typename MatrixType> void product(const MatrixType& m)
VERIFY_IS_APPROX(s1*(square*m1), (s1*square)*m1);
VERIFY_IS_APPROX(s1*(square*m1), square*(m1*s1));
- // again, test operator() to check const-qualification
- s1 += (square.lazy() * m1)(r,c);
-
// test Product.h together with Identity.h
VERIFY_IS_APPROX(v1, identity*v1);
VERIFY_IS_APPROX(v1.transpose(), v1.transpose() * identity);