aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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));