Add missing consts for rows and cols functions in SparseLU

This commit is contained in:
Julian Kent
2018-02-10 13:44:05 +01:00
parent a12b8a8c75
commit 6d451cf2b6
2 changed files with 6 additions and 6 deletions

View File

@@ -75,12 +75,12 @@ class MappedSuperNodalMatrix
/**
* Number of rows
*/
Index rows() { return m_row; }
Index rows() const { return m_row; }
/**
* Number of columns
*/
Index cols() { return m_col; }
Index cols() const { return m_col; }
/**
* Return the array of nonzero values packed by column