From: Wolfgang Bangerth Date: Mon, 14 Apr 2025 17:01:03 +0000 (-0600) Subject: Mark some input arguments 'const'. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=199f515ac07f80688e8958521d60d04f3606525e;p=dealii.git Mark some input arguments 'const'. --- 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();