From a6869a1b57bce6328b4e9021984a1afefe8df91f Mon Sep 17 00:00:00 2001 From: David Wells Date: Wed, 14 Jun 2023 17:43:20 -0400 Subject: [PATCH] Use a delegating constructor in DSP. --- source/lac/dynamic_sparsity_pattern.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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) -- 2.39.5