From: Timo Heister Date: Wed, 10 Jul 2019 17:21:15 +0000 (-0400) Subject: fix wrong variable assignment X-Git-Tag: v9.2.0-rc1~1385^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8369%2Fhead;p=dealii.git fix wrong variable assignment intel compiler warned correctly warned about this. I assume that this is the correct fix... --- diff --git a/source/hp/refinement.cc b/source/hp/refinement.cc index 97d1f44dfb..bd2436d96c 100644 --- a/source/hp/refinement.cc +++ b/source/hp/refinement.cc @@ -108,7 +108,7 @@ namespace hp *std::max_element(smoothness_indicators.begin(), smoothness_indicators.end()); Number max_smoothness_coarsen = max_smoothness_refine, - min_smoothness_coarsen = min_smoothness_coarsen; + min_smoothness_coarsen = min_smoothness_refine; for (const auto &cell : dof_handler.active_cell_iterators()) if (cell->is_locally_owned())