Commit 104d6add authored by Olivier Stasse's avatar Olivier Stasse
Browse files

Initialize the evaluator.

parent e25a2114
......@@ -48,13 +48,14 @@ namespace Eigen
typedef typename nested_eval<MatrixType,PermutationType>::type MatrixTypeNested;
typedef typename remove_all<MatrixTypeNested>::type MatrixTypeNestedCleaned;
typedef typename XprType::CoeffReturnType CoeffReturnType;
typedef typename SubMatrix<MatrixType, PermutationType, IsSub>::MemoryBase MemoryBase;
enum {
CoeffReadCost = evaluator<MatrixTypeNestedCleaned>::CoeffReadCost,
Flags = MatrixType::Flags | LinearAccessBit
evaluator(const XprType& xpr)
: m_argImpl(MemoryBase::m_matrix.const_cast_derived())
: m_argImpl(xpr.m_matrix)
{ }
CoeffReturnType coeff(Index row, Index col) const
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment