aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2014-02-19 15:16:11 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2014-02-19 15:16:11 +0100
commit8af02d19b2441024823e261dc71125b9d42fe909 (patch)
tree737ec2950cc0aa523ff67701530fda85162a50db /test
parent95b0a6707b45b78bad11fa7a090cd6439072c554 (diff)
ExprType::Nested has a new meaning now...
Diffstat (limited to 'test')
-rw-r--r--test/nesting_ops.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/nesting_ops.cpp b/test/nesting_ops.cpp
index 1e8523283..114dd5e41 100644
--- a/test/nesting_ops.cpp
+++ b/test/nesting_ops.cpp
@@ -11,7 +11,12 @@
template <typename MatrixType> void run_nesting_ops(const MatrixType& _m)
{
+#ifndef EIGEN_TEST_EVALUATORS
+ // TODO, with evaluator, the following is not correct anymore:
typename MatrixType::Nested m(_m);
+#else
+ typename internal::nested_eval<MatrixType,2>::type m(_m);
+#endif
// Make really sure that we are in debug mode!
VERIFY_RAISES_ASSERT(eigen_assert(false));