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,7 +29,7 @@ public:
{ {
typedef typename BlockImpl::Index Index; typedef typename BlockImpl::Index Index;
public: 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) : XprType::InnerIterator(xpr.m_matrix, xpr.m_outerStart + outer), m_outer(outer)
{} {}
inline Index row() const { return IsRowMajor ? m_outer : this->index(); } inline Index row() const { return IsRowMajor ? m_outer : this->index(); }