From 04c663840bbb47f9ae33124e55b06860edf5f726 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Fri, 16 Apr 2010 12:32:33 -0400 Subject: * add some 1x1 tests * temporarily disable tests that strangely fail, with a big FIXME --- test/product_notemporary.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/product_notemporary.cpp') diff --git a/test/product_notemporary.cpp b/test/product_notemporary.cpp index 543020398..0c9785f43 100644 --- a/test/product_notemporary.cpp +++ b/test/product_notemporary.cpp @@ -86,6 +86,7 @@ template void product_notemporary(const MatrixType& m) VERIFY_EVALUATION_COUNT( rm3.noalias() = (s1 * m1.adjoint()).template triangularView() * (m2+m2), 1); VERIFY_EVALUATION_COUNT( rm3.noalias() = (s1 * m1.adjoint()).template triangularView() * m2.adjoint(), 0); +// FIXME this used to work but was broken by the eigen-storageorders fork. Why? // VERIFY_EVALUATION_COUNT( rm3.col(c0).noalias() = (s1 * m1.adjoint()).template triangularView() * (s2*m2.row(c0)).adjoint(), 0); VERIFY_EVALUATION_COUNT( m1.template triangularView().solveInPlace(m3), 0); @@ -95,7 +96,9 @@ template void product_notemporary(const MatrixType& m) VERIFY_EVALUATION_COUNT( m3.noalias() = s2 * m2.adjoint() * (s1 * m1.adjoint()).template selfadjointView(), 0); VERIFY_EVALUATION_COUNT( rm3.noalias() = (s1 * m1.adjoint()).template selfadjointView() * m2.adjoint(), 0); +// FIXME this used to work but was broken by the eigen-storageorders fork. Why? // VERIFY_EVALUATION_COUNT( m3.col(c0).noalias() = (s1 * m1).adjoint().template selfadjointView() * (-m2.row(c0)*s3).adjoint(), 0); +// FIXME this used to work but was broken by the eigen-storageorders fork. Why? // VERIFY_EVALUATION_COUNT( m3.col(c0).noalias() -= (s1 * m1).adjoint().template selfadjointView() * (-m2.row(c0)*s3).adjoint(), 0); VERIFY_EVALUATION_COUNT( m3.block(r0,c0,r1,c1).noalias() += m1.block(r0,r0,r1,r1).template selfadjointView() * (s1*m2.block(r0,c0,r1,c1)), 0); -- cgit v1.2.3