mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-22 04:27:36 +08:00
Fix ambiguity from the origin of Index type in BlockImpl<Sparse>::InnerIterator
This commit is contained in:
parent
8ba7ccf16a
commit
d0142e963b
@ -27,6 +27,7 @@ public:
|
||||
|
||||
class InnerIterator: public XprType::InnerIterator
|
||||
{
|
||||
typedef typename BlockImpl::Index Index;
|
||||
public:
|
||||
inline InnerIterator(const BlockType& xpr, Index outer)
|
||||
: XprType::InnerIterator(xpr.m_matrix, xpr.m_outerStart + outer), m_outer(outer)
|
||||
@ -38,6 +39,7 @@ public:
|
||||
};
|
||||
class ReverseInnerIterator: public XprType::ReverseInnerIterator
|
||||
{
|
||||
typedef typename BlockImpl::Index Index;
|
||||
public:
|
||||
inline ReverseInnerIterator(const BlockType& xpr, Index outer)
|
||||
: XprType::ReverseInnerIterator(xpr.m_matrix, xpr.m_outerStart + outer), m_outer(outer)
|
||||
|
Loading…
x
Reference in New Issue
Block a user