aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/product_trmm.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-07-28 17:13:13 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-07-28 17:13:13 +0200
commit264fe82c655a26f3c3ab5057684dbc51cf533056 (patch)
treee634e521e0c146abec629454752efb8119897d04 /test/product_trmm.cpp
parent508f06ac0f9cf2509900138adaf23dee3cdc51c4 (diff)
add a debug mechanism to compute the number of intermediate evaluations (only for dynamic size)
Diffstat (limited to 'test/product_trmm.cpp')
-rw-r--r--test/product_trmm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/product_trmm.cpp b/test/product_trmm.cpp
index 47ffb4af3..734d8c970 100644
--- a/test/product_trmm.cpp
+++ b/test/product_trmm.cpp
@@ -53,7 +53,7 @@ template<typename Scalar> void trmm(int size,int othersize)
VERIFY_IS_APPROX(rge3 = tri.template triangularView<LowerTriangular>() * ge2.adjoint(), loTri * ge2.adjoint());
VERIFY_IS_APPROX( ge3 = tri.template triangularView<UpperTriangular>() * ge2.adjoint(), upTri * ge2.adjoint());
VERIFY_IS_APPROX(rge3 = tri.template triangularView<UpperTriangular>() * ge2.adjoint(), upTri * ge2.adjoint());
- VERIFY_IS_APPROX( ge3 = tri.adjoint().template triangularView<UpperTriangular>() * ge2.adjoint(), loTri.adjoint() * ge2.adjoint());
+ VERIFY_IS_APPROX( ge3 = (s1*tri).adjoint().template triangularView<UpperTriangular>() * ge2.adjoint(), ei_conj(s1) * loTri.adjoint() * ge2.adjoint());
VERIFY_IS_APPROX(rge3 = tri.adjoint().template triangularView<UpperTriangular>() * ge2.adjoint(), loTri.adjoint() * ge2.adjoint());
VERIFY_IS_APPROX( ge3 = tri.adjoint().template triangularView<LowerTriangular>() * ge2.adjoint(), upTri.adjoint() * ge2.adjoint());
VERIFY_IS_APPROX(rge3 = tri.adjoint().template triangularView<LowerTriangular>() * ge2.adjoint(), upTri.adjoint() * ge2.adjoint());