From 7ea7bef0cadd2d8a2f6d44427144dbc515e17852 Mon Sep 17 00:00:00 2001 From: hartmann Date: Mon, 3 May 1999 14:21:44 +0000 Subject: [PATCH] Copy constructor needs explicit initialization of the base class 'Subscriptor' git-svn-id: https://svn.dealii.org/trunk@1241 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/sparse_matrix.templates.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/deal.II/lac/include/lac/sparse_matrix.templates.h b/deal.II/lac/include/lac/sparse_matrix.templates.h index 3d2040cb2c..bfef8d7f7d 100644 --- a/deal.II/lac/include/lac/sparse_matrix.templates.h +++ b/deal.II/lac/include/lac/sparse_matrix.templates.h @@ -28,6 +28,7 @@ SparseMatrix::SparseMatrix () : template SparseMatrix::SparseMatrix (const SparseMatrix &m) : + Subscriptor(), cols(0), val(0), max_len(0) @@ -40,11 +41,11 @@ SparseMatrix::SparseMatrix (const SparseMatrix &m) : template -SparseMatrix::SparseMatrix (const SparseMatrixStruct &c) - : cols(&c), - val(0), - max_len(0), - is_ilu(false) +SparseMatrix::SparseMatrix (const SparseMatrixStruct &c) : + cols(&c), + val(0), + max_len(0), + is_ilu(false) { reinit(); }; -- 2.39.5