From: David Wells Date: Wed, 15 Apr 2020 19:13:29 +0000 (-0400) Subject: step-8: use {} instead of very long type. X-Git-Tag: v9.2.0-rc1~211^2~5 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47bb05841c0298d619045562aa02085ca30102bf;p=dealii.git step-8: use {} instead of very long type. --- diff --git a/examples/step-6/step-6.cc b/examples/step-6/step-6.cc index a7cfd5eace..a8cf3bf413 100644 --- a/examples/step-6/step-6.cc +++ b/examples/step-6/step-6.cc @@ -408,12 +408,11 @@ void Step6::refine_grid() { Vector estimated_error_per_cell(triangulation.n_active_cells()); - KellyErrorEstimator::estimate( - dof_handler, - QGauss(fe.degree + 1), - std::map *>(), - solution, - estimated_error_per_cell); + KellyErrorEstimator::estimate(dof_handler, + QGauss(fe.degree + 1), + {}, + solution, + estimated_error_per_cell); // The above function returned one error indicator value for each cell in // the estimated_error_per_cell array. Refinement is now done diff --git a/examples/step-8/step-8.cc b/examples/step-8/step-8.cc index 4b658b76c0..52f7de2a75 100644 --- a/examples/step-8/step-8.cc +++ b/examples/step-8/step-8.cc @@ -459,12 +459,11 @@ namespace Step8 { Vector estimated_error_per_cell(triangulation.n_active_cells()); - KellyErrorEstimator::estimate( - dof_handler, - QGauss(fe.degree + 1), - std::map *>(), - solution, - estimated_error_per_cell); + KellyErrorEstimator::estimate(dof_handler, + QGauss(fe.degree + 1), + {}, + solution, + estimated_error_per_cell); GridRefinement::refine_and_coarsen_fixed_number(triangulation, estimated_error_per_cell,