aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sparse_vector.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2014-09-03 22:56:39 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2014-09-03 22:56:39 +0200
commit80993b95d3be6dbc11b149b253f72d22f41c586e (patch)
tree928c6aaa1c60c0b2fcf0552b62cc2facd71626d5 /test/sparse_vector.cpp
parentc82dc227f19e75571ff4d8c47dfbd66765c8dbc5 (diff)
Disable a test which had never worked without evalautors
Diffstat (limited to 'test/sparse_vector.cpp')
-rw-r--r--test/sparse_vector.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/sparse_vector.cpp b/test/sparse_vector.cpp
index 5eea9edfd..6cd5a9a8c 100644
--- a/test/sparse_vector.cpp
+++ b/test/sparse_vector.cpp
@@ -71,7 +71,10 @@ template<typename Scalar,typename Index> void sparse_vector(int rows, int cols)
VERIFY_IS_APPROX(v1.dot(v2), refV1.dot(refV2));
VERIFY_IS_APPROX(v1.dot(refV2), refV1.dot(refV2));
+#ifdef EIGEN_TEST_EVALUATORS
+ // the following did not compiled without evaluators
VERIFY_IS_APPROX(m1*v2, refM1*refV2);
+#endif
VERIFY_IS_APPROX(v1.dot(m1*v2), refV1.dot(refM1*refV2));
int i = internal::random<int>(0,rows-1);
VERIFY_IS_APPROX(v1.dot(m1.col(i)), refV1.dot(refM1.col(i)));