aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/SparseCore/SparseView.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2013-07-06 22:05:49 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2013-07-06 22:05:49 +0200
commit4f28ccdd0e8456391dd503928d895d3ba68c5c22 (patch)
tree350cab1cf7bdd7898e6d374ef05e0277ad544f34 /Eigen/src/SparseCore/SparseView.h
parent9b833aff423eb414bc13d9d702f0daf5281669b3 (diff)
Rationalize the use of Index type in iterators
Diffstat (limited to 'Eigen/src/SparseCore/SparseView.h')
-rw-r--r--Eigen/src/SparseCore/SparseView.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Eigen/src/SparseCore/SparseView.h b/Eigen/src/SparseCore/SparseView.h
index 67eb93245..fd8450463 100644
--- a/Eigen/src/SparseCore/SparseView.h
+++ b/Eigen/src/SparseCore/SparseView.h
@@ -56,6 +56,7 @@ protected:
template<typename MatrixType>
class SparseView<MatrixType>::InnerIterator : public _MatrixTypeNested::InnerIterator
{
+ typedef typename SparseView::Index Index;
public:
typedef typename _MatrixTypeNested::InnerIterator IterBase;
InnerIterator(const SparseView& view, Index outer) :