mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix bug #635: add isCompressed to MappedSparseMatrix for compatibility
This commit is contained in:
@@ -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; }
|
||||||
|
|||||||
Reference in New Issue
Block a user