From b72a686830b95afd8941d3c4020eb936628b6398 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 2 Aug 2013 11:11:21 +0200 Subject: [PATCH] Fix bug #635: add isCompressed to MappedSparseMatrix for compatibility --- Eigen/src/SparseCore/MappedSparseMatrix.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Eigen/src/SparseCore/MappedSparseMatrix.h b/Eigen/src/SparseCore/MappedSparseMatrix.h index 93cd4832d..ab1a266a9 100644 --- a/Eigen/src/SparseCore/MappedSparseMatrix.h +++ b/Eigen/src/SparseCore/MappedSparseMatrix.h @@ -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