From a60d71b840c91b9661c315c248300d4008e1c6b2 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 21 Sep 2016 18:15:23 +0200 Subject: [PATCH] bug #1300: compilation fix in Block --- Eigen/src/SparseCore/SparseBlock.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;