From e7097f650c124c14e53a96df7a8739620f7647b3 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sat, 7 Jul 2018 23:16:06 +0200 Subject: [PATCH] Fix comments in @code blocks in hp headers --- include/deal.II/hp/dof_handler.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/include/deal.II/hp/dof_handler.h b/include/deal.II/hp/dof_handler.h index 40fb02cfd1..a314768fc5 100644 --- a/include/deal.II/hp/dof_handler.h +++ b/include/deal.II/hp/dof_handler.h @@ -461,11 +461,14 @@ namespace hp * does not contain any active cells (i.e., all cells on this level are * further refined, then this function returns * end_active(level) so that loops of the kind - * @code - * for (cell=dof_handler.begin_active(level); - * cell!=dof_handler.end_active(level); ++cell) - * ... - * @endcode + * @code + * for (cell=dof_handler.begin_active(level); + * cell!=dof_handler.end_active(level); + * ++cell) + * { + * ... + * } + * @endcode * have zero iterations, as may be expected if there are no active cells * on this level. */ @@ -540,7 +543,7 @@ namespace hp * @code * DoFHandler dof_handler; * ... - * for (auto cell : dof_handler.active_cell_iterators()) + * for (const auto &cell : dof_handler.active_cell_iterators()) * { * fe_values.reinit (cell); * ...do the local integration on 'cell'...; -- 2.39.5