From: David Wells Date: Wed, 14 Jun 2023 21:43:20 +0000 (-0400) Subject: Use a delegating constructor in DSP. X-Git-Tag: v9.5.0-rc1~110^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6869a1b57bce6328b4e9021984a1afefe8df91f;p=dealii.git Use a delegating constructor in DSP. --- diff --git a/source/lac/dynamic_sparsity_pattern.cc b/source/lac/dynamic_sparsity_pattern.cc index e43e2dbc61..6e3cf19925 100644 --- a/source/lac/dynamic_sparsity_pattern.cc +++ b/source/lac/dynamic_sparsity_pattern.cc @@ -254,12 +254,8 @@ DynamicSparsityPattern::DynamicSparsityPattern(const size_type m, DynamicSparsityPattern::DynamicSparsityPattern(const IndexSet &rowset_) - : SparsityPatternBase() - , have_entries(false) - , rowset(0) -{ - reinit(rowset_.size(), rowset_.size(), rowset_); -} + : DynamicSparsityPattern(rowset_.size(), rowset_.size(), rowset_) +{} DynamicSparsityPattern::DynamicSparsityPattern(const size_type n)