]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Copy constructor needs explicit initialization of the base class 'Subscriptor'
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 3 May 1999 14:21:44 +0000 (14:21 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 3 May 1999 14:21:44 +0000 (14:21 +0000)
git-svn-id: https://svn.dealii.org/trunk@1241 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/sparse_matrix.templates.h

index 3d2040cb2ce23c27fd1ba6fa4e1f8ec45160b58d..bfef8d7f7dea29524903b45314263faa083b1765 100644 (file)
@@ -28,6 +28,7 @@ SparseMatrix<number>::SparseMatrix () :
 
 template <typename number>
 SparseMatrix<number>::SparseMatrix (const SparseMatrix &m) :
+               Subscriptor(),
                cols(0),
                val(0),
                max_len(0)
@@ -40,11 +41,11 @@ SparseMatrix<number>::SparseMatrix (const SparseMatrix &m) :
 
 
 template <typename number>
-SparseMatrix<number>::SparseMatrix (const SparseMatrixStruct &c)
-               cols(&c),
-                 val(0),
-                 max_len(0),
-                 is_ilu(false)
+SparseMatrix<number>::SparseMatrix (const SparseMatrixStruct &c) :
+               cols(&c),
+               val(0),
+               max_len(0),
+               is_ilu(false)
 {
   reinit();
 };

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.