From 1f1c471914abe70db2dafe91178fb7e174ceffe7 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 8 Apr 2015 10:56:25 -0500 Subject: [PATCH] Deprecate the n_rows() and n_cols() member functions. The SparseMatrixEZ class is the only matrix class that has these functions, and it has m() and n() like all other matrix classes. --- include/deal.II/lac/block_sparse_matrix_ez.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/deal.II/lac/block_sparse_matrix_ez.h b/include/deal.II/lac/block_sparse_matrix_ez.h index 4e9551eeb9..4062b074aa 100644 --- a/include/deal.II/lac/block_sparse_matrix_ez.h +++ b/include/deal.II/lac/block_sparse_matrix_ez.h @@ -153,15 +153,19 @@ public: * Return number of rows of this matrix, which equals the dimension of * the codomain (or range) space. It is the sum of the number of rows over the * sub-matrix blocks of this matrix. + * + * @deprecated Use m() instead. */ - size_type n_rows () const; + size_type n_rows () const DEAL_II_DEPRECATED; /** * Return number of columns of this matrix, which equals the dimension of * the domain space. It is the sum of the number of columns over the * sub-matrix blocks of this matrix. + * + * @deprecated Use n() instead. */ - size_type n_cols () const; + size_type n_cols () const DEAL_II_DEPRECATED; /** * Return the dimension of the codomain (or range) space. To remember: -- 2.39.5