diff --git a/Eigen/src/SparseCore/SparseBlock.h b/Eigen/src/SparseCore/SparseBlock.h index 86faf5a55..0692eeb1a 100644 --- a/Eigen/src/SparseCore/SparseBlock.h +++ b/Eigen/src/SparseCore/SparseBlock.h @@ -522,13 +522,13 @@ public: namespace internal { template - class GenericSparseBlockInnerIteratorImpl : public Block::_MatrixTypeNested::InnerIterator + class GenericSparseBlockInnerIteratorImpl : public internal::remove_all::type::InnerIterator { typedef Block BlockType; enum { IsRowMajor = BlockType::IsRowMajor }; - typedef typename BlockType::_MatrixTypeNested _MatrixTypeNested; + typedef typename internal::remove_all::type _MatrixTypeNested; typedef typename BlockType::Index Index; typedef typename _MatrixTypeNested::InnerIterator Base; const BlockType& m_block; @@ -560,7 +560,7 @@ namespace internal { enum { IsRowMajor = BlockType::IsRowMajor }; - typedef typename BlockType::_MatrixTypeNested _MatrixTypeNested; + typedef typename internal::remove_all::type _MatrixTypeNested; typedef typename BlockType::Index Index; typedef typename BlockType::Scalar Scalar; const BlockType& m_block;