]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix uninitialized variable in FE_Enriched Helper class
authorDenis Davydov <davydden@gmail.com>
Fri, 24 Aug 2018 13:27:17 +0000 (15:27 +0200)
committerDenis Davydov <davydden@gmail.com>
Fri, 24 Aug 2018 13:27:17 +0000 (15:27 +0200)
source/fe/fe_enriched.cc

index 04a800fddbeb42f3221773c26fb652a061f47b3b..6be53063c945be9ef9f8c17c96b8d4b4270c5b61 100644 (file)
@@ -1461,6 +1461,7 @@ namespace ColorEnriched
     , fe_nothing(fe_base.n_components(), true)
     , predicates(predicates)
     , enrichments(enrichments)
+    , num_colors(numbers::invalid_unsigned_int)
   {
     AssertDimension(predicates.size(), enrichments.size());
     AssertDimension(fe_base.n_components(), fe_enriched.n_components());

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.