mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-10 23:21:47 +08:00
Fix bug #635: add isCompressed to MappedSparseMatrix for compatibility
(transplanted from b72a686830b95afd8941d3c4020eb936628b6398 )
This commit is contained in:
parent
4219db123e
commit
be71c46a3c
@ -50,6 +50,8 @@ class MappedSparseMatrix
|
||||
inline Index cols() const { return IsRowMajor ? m_innerSize : m_outerSize; }
|
||||
inline Index innerSize() const { return m_innerSize; }
|
||||
inline Index outerSize() const { return m_outerSize; }
|
||||
|
||||
bool isCompressed() const { return true; }
|
||||
|
||||
//----------------------------------------
|
||||
// direct access interface
|
||||
|
Loading…
x
Reference in New Issue
Block a user