mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-20 08:39:37 +08:00
ExprType::Nested has a new meaning now...
This commit is contained in:
parent
95b0a6707b
commit
8af02d19b2
@ -11,7 +11,12 @@
|
|||||||
|
|
||||||
template <typename MatrixType> void run_nesting_ops(const MatrixType& _m)
|
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);
|
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!
|
// Make really sure that we are in debug mode!
|
||||||
VERIFY_RAISES_ASSERT(eigen_assert(false));
|
VERIFY_RAISES_ASSERT(eigen_assert(false));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user