]> https://gitweb.dealii.org/ - dealii.git/commitdiff
ranged-for documentation fix 8396/head
authorReza Rastak <rastak@stanford.edu>
Fri, 19 Jul 2019 22:49:28 +0000 (15:49 -0700)
committerReza Rastak <rastak@stanford.edu>
Fri, 19 Jul 2019 22:49:28 +0000 (15:49 -0700)
doc/doxygen/headers/c++11.h
include/deal.II/base/iterator_range.h
include/deal.II/differentiation/ad/ad_helpers.h

index 5f3581a3b8e1856e8390d37e9bb43c8ccbb8a328..075311c7f1bdfbd4cc83ca9ea16e240e949932dd 100644 (file)
@@ -40,7 +40,7 @@
  * @code
  *   Triangulation<dim> triangulation;
  *   ...
- *   for (auto cell : triangulation.active_cell_iterators())
+ *   for (auto &cell : triangulation.active_cell_iterators())
  *     cell->set_refine_flag();
  * @endcode
  * This relies on functions such as Triangulation::active_cell_iterators(),
index 30b9e51cb22e7ddcc615c385c064002080f46e69..ca862322f64ef6d8cfd7bbf85434b2694bd3496c 100644 (file)
@@ -52,7 +52,7 @@ class IteratorOverIterators;
  * @code
  *   Triangulation<dim> triangulation;
  *   ...
- *   for (auto & cell : triangulation.active_cell_iterators())
+ *   for (auto &cell : triangulation.active_cell_iterators())
  *     cell->set_user_flag();
  * @endcode
  * In other words, the <code>cell</code> objects are iterators, and the range
index 928f92cdff3d6c530c9a0481673bc1425299a1a7..a41e6c0b2815dbe5d3234919b0af9e3b8ba6186d 100644 (file)
@@ -1081,7 +1081,7 @@ namespace Differentiation
      *   Vector<double> cell_rhs (...);
      *
      *   // Assembly loop:
-     *   for (auto & cell : ...)
+     *   for (auto &cell : ...)
      *   {
      *     cell->get_dof_indices(local_dof_indices);
      *     const unsigned int n_independent_variables =
@@ -1384,7 +1384,7 @@ namespace Differentiation
      *   Vector<double> cell_rhs (...);
      *
      *   // Assembly loop:
-     *   for (auto & cell : ...)
+     *   for (auto &cell : ...)
      *   {
      *     cell->get_dof_indices(local_dof_indices);
      *     const unsigned int n_independent_variables

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.