The evalautor of Solve was missing the EvalBeforeNestingBit flag.

This commit is contained in:
Gael Guennebaud
2015-10-09 14:57:19 +02:00
parent 515ecddb97
commit ae38910693
2 changed files with 23 additions and 5 deletions

View File

@@ -118,6 +118,8 @@ struct evaluator<Solve<Decomposition,RhsType> >
typedef Solve<Decomposition,RhsType> SolveType;
typedef typename SolveType::PlainObject PlainObject;
typedef evaluator<PlainObject> Base;
enum { Flags = Base::Flags | EvalBeforeNestingBit };
EIGEN_DEVICE_FUNC explicit evaluator(const SolveType& solve)
: m_result(solve.rows(), solve.cols())