]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Explicitly copy-initialize base class. Constify some variables.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 11 Mar 2003 19:58:48 +0000 (19:58 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 11 Mar 2003 19:58:48 +0000 (19:58 +0000)
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

index cef984a3bdc965b0ef491f9e3bd0a6e9d84bb1f6..b3eb6cdf786dc6be3fe948b4f733d6e5f18d0e51 100644 (file)
@@ -78,6 +78,7 @@ template <typename number>
 BlockSparseMatrixEZ<number>::BlockSparseMatrixEZ (
   const BlockSparseMatrixEZ<number> &m)
                :
+                Subscriptor (m),
                row_indices(m.row_indices),
                column_indices(m.column_indices),
                blocks(m.blocks)
@@ -87,8 +88,8 @@ BlockSparseMatrixEZ<number>::BlockSparseMatrixEZ (
 
 template <typename number>
 void
-BlockSparseMatrixEZ<number>::reinit (unsigned int rows,
-                                    unsigned int cols)
+BlockSparseMatrixEZ<number>::reinit (const unsigned int rows,
+                                    const unsigned int cols)
 {
   row_indices.reinit(rows, 0);
   column_indices.reinit(cols, 0);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.