]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix wrong variable assignment 8369/head
authorTimo Heister <timo.heister@gmail.com>
Wed, 10 Jul 2019 17:21:15 +0000 (13:21 -0400)
committerTimo Heister <timo.heister@gmail.com>
Wed, 10 Jul 2019 17:21:25 +0000 (13:21 -0400)
intel compiler warned correctly warned about this. I assume that this is
the correct fix...

source/hp/refinement.cc

index 97d1f44dfb2392463376a5ca37097a5659b47ad2..bd2436d96ca0640ae71920367752c1f73158bb21 100644 (file)
@@ -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())

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.