]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use a delegating constructor in DSP. 15362/head
authorDavid Wells <drwells@email.unc.edu>
Wed, 14 Jun 2023 21:43:20 +0000 (17:43 -0400)
committerDavid Wells <drwells@email.unc.edu>
Wed, 14 Jun 2023 21:43:20 +0000 (17:43 -0400)
source/lac/dynamic_sparsity_pattern.cc

index e43e2dbc61b7da2b9caef7398a3a21b8e27896e8..6e3cf199252ddaf8ff72cf31b6d15639b6d2c773 100644 (file)
@@ -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)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.