From: Wolfgang Bangerth Date: Wed, 2 Nov 2016 21:09:48 +0000 (-0600) Subject: Initialize all member variables in a copy constructor. X-Git-Tag: v8.5.0-rc1~506^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=173f0363895ac865031f27aebd8b29faaf34072d;p=dealii.git Initialize all member variables in a copy constructor. --- 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 "