From: Daniel Arndt Date: Wed, 5 Oct 2016 10:40:12 +0000 (+0200) Subject: Silence warning in FE_Enriched X-Git-Tag: v8.5.0-rc1~597^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42c1b92a2d7f2b73d7679bbf6f4fe718e69de9c6;p=dealii.git Silence warning in FE_Enriched --- diff --git a/source/fe/fe_enriched.cc b/source/fe/fe_enriched.cc index 7486d6bedd..537436d17b 100644 --- a/source/fe/fe_enriched.cc +++ b/source/fe/fe_enriched.cc @@ -188,12 +188,10 @@ FE_Enriched::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)));