From 264fe82c655a26f3c3ab5057684dbc51cf533056 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 28 Jul 2009 17:13:13 +0200 Subject: add a debug mechanism to compute the number of intermediate evaluations (only for dynamic size) --- test/product_trmm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/product_trmm.cpp') 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 void trmm(int size,int othersize) VERIFY_IS_APPROX(rge3 = tri.template triangularView() * ge2.adjoint(), loTri * ge2.adjoint()); VERIFY_IS_APPROX( ge3 = tri.template triangularView() * ge2.adjoint(), upTri * ge2.adjoint()); VERIFY_IS_APPROX(rge3 = tri.template triangularView() * ge2.adjoint(), upTri * ge2.adjoint()); - VERIFY_IS_APPROX( ge3 = tri.adjoint().template triangularView() * ge2.adjoint(), loTri.adjoint() * ge2.adjoint()); + VERIFY_IS_APPROX( ge3 = (s1*tri).adjoint().template triangularView() * ge2.adjoint(), ei_conj(s1) * loTri.adjoint() * ge2.adjoint()); VERIFY_IS_APPROX(rge3 = tri.adjoint().template triangularView() * ge2.adjoint(), loTri.adjoint() * ge2.adjoint()); VERIFY_IS_APPROX( ge3 = tri.adjoint().template triangularView() * ge2.adjoint(), upTri.adjoint() * ge2.adjoint()); VERIFY_IS_APPROX(rge3 = tri.adjoint().template triangularView() * ge2.adjoint(), upTri.adjoint() * ge2.adjoint()); -- cgit v1.2.3