Workaround MSVC compilation issue

(Visual messed up with the BlockType defined in the base class, and the redefined one)
This commit is contained in:
Gael Guennebaud 2016-10-03 10:21:58 +02:00
parent f7ddd033e1
commit 91b2fa2985

View File

@ -29,13 +29,13 @@ public:
{
typedef typename BlockImpl::Index Index;
public:
inline InnerIterator(const BlockType& xpr, Index outer)
inline InnerIterator(const Block<XprType, BlockRows, BlockCols, true>& xpr, Index outer)
: XprType::InnerIterator(xpr.m_matrix, xpr.m_outerStart + outer), m_outer(outer)
{}
inline Index row() const { return IsRowMajor ? m_outer : this->index(); }
inline Index col() const { return IsRowMajor ? this->index() : m_outer; }
protected:
Index m_outer;
Index m_outer;
};
class ReverseInnerIterator: public XprType::ReverseInnerIterator
{