mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-03 01:04:23 +08:00
Fix missing outer() member in DynamicSparseMatrix
This commit is contained in:
parent
dbdd8b0883
commit
503c176d8e
@ -331,6 +331,7 @@ class DynamicSparseMatrix<Scalar,_Options,_Index>::InnerIterator : public Sparse
|
|||||||
|
|
||||||
inline Index row() const { return IsRowMajor ? m_outer : Base::index(); }
|
inline Index row() const { return IsRowMajor ? m_outer : Base::index(); }
|
||||||
inline Index col() const { return IsRowMajor ? Base::index() : m_outer; }
|
inline Index col() const { return IsRowMajor ? Base::index() : m_outer; }
|
||||||
|
inline Index outer() const { return m_outer; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
const Index m_outer;
|
const Index m_outer;
|
||||||
@ -347,6 +348,7 @@ class DynamicSparseMatrix<Scalar,_Options,_Index>::ReverseInnerIterator : public
|
|||||||
|
|
||||||
inline Index row() const { return IsRowMajor ? m_outer : Base::index(); }
|
inline Index row() const { return IsRowMajor ? m_outer : Base::index(); }
|
||||||
inline Index col() const { return IsRowMajor ? Base::index() : m_outer; }
|
inline Index col() const { return IsRowMajor ? Base::index() : m_outer; }
|
||||||
|
inline Index outer() const { return m_outer; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
const Index m_outer;
|
const Index m_outer;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user