From c4edffbdc990c1f55d8ff47ed11bddbe766c6de8 Mon Sep 17 00:00:00 2001 From: LTLA Date: Tue, 14 May 2024 08:46:51 -0700 Subject: [PATCH] Restored Matrix::sparse_proportion() method for back-compat. --- include/tatami/base/Matrix.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/tatami/base/Matrix.hpp b/include/tatami/base/Matrix.hpp index fe7953c3..34a04dc6 100644 --- a/include/tatami/base/Matrix.hpp +++ b/include/tatami/base/Matrix.hpp @@ -109,6 +109,10 @@ class Matrix { bool sparse() const { return is_sparse(); } + + bool sparse_proportion() const { + return is_sparse_proportion(); + } /** * @endcond */