diff options
author | Gael Guennebaud <g.gael@free.fr> | 2009-08-05 15:23:35 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2009-08-05 15:23:35 +0200 |
commit | 88147e0a91733bde2c095cbe51c20b6d8a32ea88 (patch) | |
tree | b4885ef5e314b9f82433daac68c9c99f3e601849 /test/product.h | |
parent | 014c581a5b32330e202e52fc5f9d98d383461da0 (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.h | 3 |
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); |