From: Daniel Arndt Date: Sat, 7 Jul 2018 21:16:06 +0000 (+0200) Subject: Fix comments in @code blocks in hp headers X-Git-Tag: v9.1.0-rc1~937^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F6897%2Fhead;p=dealii.git Fix comments in @code blocks in hp headers --- 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'...;