From: Guido Kanschat Date: Wed, 17 Oct 2001 08:13:09 +0000 (+0000) Subject: missing constructor implemented X-Git-Tag: v8.0.0~18671 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1877c9a03b63ddfbeb8a816df9cf8232e90e0a7f;p=dealii.git missing constructor implemented git-svn-id: https://svn.dealii.org/trunk@5152 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/block_sparsity_pattern.cc b/deal.II/lac/source/block_sparsity_pattern.cc index 702b0eebdd..f07f93b816 100644 --- a/deal.II/lac/source/block_sparsity_pattern.cc +++ b/deal.II/lac/source/block_sparsity_pattern.cc @@ -40,10 +40,13 @@ BlockSparsityPatternBase (const unsigned int r, template BlockSparsityPatternBase::BlockSparsityPatternBase ( - const BlockSparsityPatternBase&) + const BlockSparsityPatternBase& s) { -//TODO: Find out if this is really needed - abort(); + Assert(s.rows==0, ExcInvalidConstructorCall()); + Assert(s.columns==0, ExcInvalidConstructorCall()); + + rows = 0; + columns=0; };