From 2d8f08a4de8dcdb7af821cbf06a222b263f29ebe Mon Sep 17 00:00:00 2001 From: marcfehling Date: Tue, 19 Nov 2019 18:17:27 +0100 Subject: [PATCH] Doc: Minor changes to hp::Refinement. --- include/deal.II/hp/refinement.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/deal.II/hp/refinement.h b/include/deal.II/hp/refinement.h index bf696efbcd..87c604ad93 100644 --- a/include/deal.II/hp/refinement.h +++ b/include/deal.II/hp/refinement.h @@ -433,7 +433,7 @@ namespace hp * // [initialisation...] * Vector predicted_error_per_cell(triangulation.n_active_cells()); * for(unsigned int i = 0; i < triangulation.n_active_cells(); ++i) - * predicted_error_per_cell[i] = std::numeric_limits::max(); + * predicted_error_per_cell[i] = std::numeric_limits::infinity(); * * // [during each refinement step...] * // set h-adaptivity flags @@ -448,7 +448,7 @@ namespace hp * predicted_error_per_cell, * std::less(), * std::less()); - * hp::Refinement::{choose|force}_p_over_h(...); + * hp::Refinement::{choose|force}_p_over_h(hp_dof_handler); * * // predict error for the subsequent adaptation * triangulation.prepare_coarsening_and_refinement(); -- 2.39.5