]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Silence warning in FE_Enriched 3202/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Wed, 5 Oct 2016 10:40:12 +0000 (12:40 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Wed, 5 Oct 2016 13:14:37 +0000 (15:14 +0200)
source/fe/fe_enriched.cc

index 7486d6bedd828f4c9f0fb6151812c4dbb10fe7d1..537436d17b6d9d2a55efc5246fcda17b30163ada 100644 (file)
@@ -188,12 +188,10 @@ FE_Enriched<dim,spacedim>::FE_Enriched (const std::vector< const FiniteElement<
         continue;
 
       const unsigned int base_m  = this->system_to_base_table[system_index].first.second;
-      const unsigned int
-      base_index = this->system_to_base_table[system_index].second;
 
       Assert (base_m < base_no_mult_local_enriched_dofs[base_no].size(),
               ExcMessage("Size mismatch for base_no_mult_local_enriched_dofs: "
-                         "base_index = " + std::to_string(base_index) +
+                         "base_index = " + std::to_string(this->system_to_base_table[system_index].second) +
                          "; base_no = " + std::to_string(base_no) +
                          "; base_m = " + std::to_string(base_m) +
                          "; system_index = " + std::to_string(system_index)));

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.