ExprType::Nested has a new meaning now...

This commit is contained in:
Gael Guennebaud 2014-02-19 15:16:11 +01:00
parent 95b0a6707b
commit 8af02d19b2

View File

@ -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));