mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix missing outer() member in DynamicSparseMatrix
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user