Rationalize the use of Index type in iterators

This commit is contained in:
Gael Guennebaud
2013-07-06 22:05:49 +02:00
parent 9b833aff42
commit 4f28ccdd0e
5 changed files with 11 additions and 5 deletions

View File

@@ -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) :