From 0f8eebfb431659f7d646a1ef90d229e154b93200 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Wed, 10 Jul 2019 13:21:15 -0400 Subject: [PATCH] fix wrong variable assignment intel compiler warned correctly warned about this. I assume that this is the correct fix... --- source/hp/refinement.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) -- 2.39.5