Fix bug #635: add isCompressed to MappedSparseMatrix for compatibility

This commit is contained in:
Gael Guennebaud 2013-08-02 11:11:21 +02:00
parent e3058dd88b
commit b72a686830

View File

@ -51,6 +51,8 @@ class MappedSparseMatrix
inline Index innerSize() const { return m_innerSize; }
inline Index outerSize() const { return m_outerSize; }
bool isCompressed() const { return true; }
//----------------------------------------
// direct access interface
inline const Scalar* valuePtr() const { return m_values; }