aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/SparseCore/SparseView.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-09-02 22:10:39 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-09-02 22:10:39 +0200
commitaa768add0bd273763d06edb3ef6800ccb04284ef (patch)
tree5b39fa24734badb4b3bce8611d01c1633abd9f33 /Eigen/src/SparseCore/SparseView.h
parent51455824ea607cbb57b207922662c9fad1cea9fd (diff)
Since there is no reason for evaluators to be nested by reference, let's remove the evaluator<>::nestedType indirection.
Diffstat (limited to 'Eigen/src/SparseCore/SparseView.h')
-rw-r--r--Eigen/src/SparseCore/SparseView.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/SparseCore/SparseView.h b/Eigen/src/SparseCore/SparseView.h
index 0a87f01d9..dc054fbd1 100644
--- a/Eigen/src/SparseCore/SparseView.h
+++ b/Eigen/src/SparseCore/SparseView.h
@@ -114,7 +114,7 @@ struct unary_evaluator<SparseView<ArgType>, IteratorBased>
explicit unary_evaluator(const XprType& xpr) : m_argImpl(xpr.nestedExpression()), m_view(xpr) {}
protected:
- typename evaluator<ArgType>::nestedType m_argImpl;
+ evaluator<ArgType> m_argImpl;
const XprType &m_view;
};
@@ -182,7 +182,7 @@ struct unary_evaluator<SparseView<ArgType>, IndexBased>
explicit unary_evaluator(const XprType& xpr) : m_argImpl(xpr.nestedExpression()), m_view(xpr) {}
protected:
- typename evaluator<ArgType>::nestedType m_argImpl;
+ evaluator<ArgType> m_argImpl;
const XprType &m_view;
};