From 51f1b3e02b92e3f871ed315047fe0b44a07f833e Mon Sep 17 00:00:00 2001 From: wolf Date: Tue, 11 Mar 2003 19:58:48 +0000 Subject: [PATCH] Explicitly copy-initialize base class. Constify some variables. git-svn-id: https://svn.dealii.org/trunk@7322 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/block_sparse_matrix_ez.templates.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/deal.II/lac/include/lac/block_sparse_matrix_ez.templates.h b/deal.II/lac/include/lac/block_sparse_matrix_ez.templates.h index cef984a3bd..b3eb6cdf78 100644 --- a/deal.II/lac/include/lac/block_sparse_matrix_ez.templates.h +++ b/deal.II/lac/include/lac/block_sparse_matrix_ez.templates.h @@ -78,6 +78,7 @@ template BlockSparseMatrixEZ::BlockSparseMatrixEZ ( const BlockSparseMatrixEZ &m) : + Subscriptor (m), row_indices(m.row_indices), column_indices(m.column_indices), blocks(m.blocks) @@ -87,8 +88,8 @@ BlockSparseMatrixEZ::BlockSparseMatrixEZ ( template void -BlockSparseMatrixEZ::reinit (unsigned int rows, - unsigned int cols) +BlockSparseMatrixEZ::reinit (const unsigned int rows, + const unsigned int cols) { row_indices.reinit(rows, 0); column_indices.reinit(cols, 0); -- 2.39.5