From 199f515ac07f80688e8958521d60d04f3606525e Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 14 Apr 2025 11:01:03 -0600 Subject: [PATCH] Mark some input arguments 'const'. --- include/deal.II/lac/sparse_matrix_ez.h | 10 +++++----- include/deal.II/lac/sparse_matrix_ez.templates.h | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/include/deal.II/lac/sparse_matrix_ez.h b/include/deal.II/lac/sparse_matrix_ez.h index 12808c13dc..e3e72197f4 100644 --- a/include/deal.II/lac/sparse_matrix_ez.h +++ b/include/deal.II/lac/sparse_matrix_ez.h @@ -354,11 +354,11 @@ public: * efficient assembling of the matrix. */ void - reinit(const size_type n_rows, - const size_type n_columns, - size_type default_row_length = 0, - unsigned int default_increment = 1, - size_type reserve = 0); + reinit(const size_type n_rows, + const size_type n_columns, + const size_type default_row_length = 0, + const unsigned int default_increment = 1, + const size_type reserve = 0); /** * Release all memory and return to a state just like after having called diff --git a/include/deal.II/lac/sparse_matrix_ez.templates.h b/include/deal.II/lac/sparse_matrix_ez.templates.h index 5fe550071c..80b414f807 100644 --- a/include/deal.II/lac/sparse_matrix_ez.templates.h +++ b/include/deal.II/lac/sparse_matrix_ez.templates.h @@ -101,11 +101,11 @@ SparseMatrixEZ::operator=(const double d) template void -SparseMatrixEZ::reinit(const size_type n_rows, - const size_type n_cols, - size_type default_row_length, - unsigned int default_increment, - size_type reserve) +SparseMatrixEZ::reinit(const size_type n_rows, + const size_type n_cols, + const size_type default_row_length, + const unsigned int default_increment, + const size_type reserve) { clear(); -- 2.39.5