aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/product_extra.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-10-01 13:27:03 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-10-01 13:27:03 +0200
commit9a3cae465510fad8f671724d71ef59a4a8199125 (patch)
treeff61d999ae7934a0d3d1cbc6c3012df31958a6ea /test/product_extra.cpp
parent5409ce1625431f9f8149e66028db17e8515ab166 (diff)
better fix for (v * v') * v, we still have to find a way to reorder it
Diffstat (limited to 'test/product_extra.cpp')
-rw-r--r--test/product_extra.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/product_extra.cpp b/test/product_extra.cpp
index a67e755d2..8e55c6010 100644
--- a/test/product_extra.cpp
+++ b/test/product_extra.cpp
@@ -114,11 +114,6 @@ template<typename MatrixType> void product_extra(const MatrixType& m)
VERIFY_IS_APPROX(m1.col(j2).adjoint() * m1.block(0,j,m1.rows(),c), m1.col(j2).adjoint().eval() * m1.block(0,j,m1.rows(),c).eval());
VERIFY_IS_APPROX(m1.block(i,0,r,m1.cols()) * m1.row(i2).adjoint(), m1.block(i,0,r,m1.cols()).eval() * m1.row(i2).adjoint().eval());
-
- // test (outer_product) * vector with and without temporary
- ColVectorType vc3 = ColVectorType::Random(cols), vc4 = ColVectorType::Random(cols);
- vcres = (vc2 * vc3.transpose()) * vc4; // without temporary
- VERIFY_IS_APPROX(vcres, (vc2 * vc3.transpose()).eval() * vc4);
}
void test_product_extra()