From 173f0363895ac865031f27aebd8b29faaf34072d Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 2 Nov 2016 15:09:48 -0600 Subject: [PATCH] Initialize all member variables in a copy constructor. --- include/deal.II/lac/sparse_matrix_ez.templates.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/deal.II/lac/sparse_matrix_ez.templates.h b/include/deal.II/lac/sparse_matrix_ez.templates.h index 4b522b166e..39109a5115 100644 --- a/include/deal.II/lac/sparse_matrix_ez.templates.h +++ b/include/deal.II/lac/sparse_matrix_ez.templates.h @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 2002 - 2015 by the deal.II authors +// Copyright (C) 2002 - 2016 by the deal.II authors // // This file is part of the deal.II library. // @@ -41,7 +41,9 @@ template SparseMatrixEZ::SparseMatrixEZ(const SparseMatrixEZ &m) : Subscriptor (m), - n_columns (0) + n_columns (0), + increment (m.increment), + saved_default_row_length (m.saved_default_row_length) { Assert (m.m()==0 && m.n()==0, ExcMessage("This constructor can only be called if the provided argument " -- 2.39.5