mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-02-05 17:50:26 +08:00
Fix bug #635: add isCompressed to MappedSparseMatrix for compatibility
This commit is contained in:
parent
e3058dd88b
commit
b72a686830
@ -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…
Reference in New Issue
Block a user