From 47bb05841c0298d619045562aa02085ca30102bf Mon Sep 17 00:00:00 2001 From: David Wells Date: Wed, 15 Apr 2020 15:13:29 -0400 Subject: [PATCH] step-8: use {} instead of very long type. --- examples/step-6/step-6.cc | 11 +++++------ examples/step-8/step-8.cc | 11 +++++------ 2 files changed, 10 insertions(+), 12 deletions(-) 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, -- 2.39.5