Fix bug #635: add isCompressed to MappedSparseMatrix for compatibility

(transplanted from b72a686830b95afd8941d3c4020eb936628b6398
)
This commit is contained in:
Gael Guennebaud 2013-08-02 11:11:21 +02:00
parent 4219db123e
commit be71c46a3c

View File

@ -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