From: wolf Date: Tue, 11 Mar 2003 19:58:48 +0000 (+0000) Subject: Explicitly copy-initialize base class. Constify some variables. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51f1b3e02b92e3f871ed315047fe0b44a07f833e;p=dealii-svn.git Explicitly copy-initialize base class. Constify some variables. git-svn-id: https://svn.dealii.org/trunk@7322 0785d39b-7218-0410-832d-ea1e28bc413d --- 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);