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