]> https://gitweb.dealii.org/ - code-gallery.git/commitdiff
Fix a warning. 138/head
authorMarc Fehling <mafehling.git@gmail.com>
Sat, 15 Apr 2023 05:19:25 +0000 (23:19 -0600)
committerMarc Fehling <mafehling.git@gmail.com>
Sat, 15 Apr 2023 05:20:02 +0000 (23:20 -0600)
coupled_laplace_problem/coupled_laplace_problem.cc

index 072e67a155835c21893d55cfb4c7d5e594fa1277..e295a18b27ee6fbb2f4a5936131575d8403a5b6b 100644 (file)
@@ -423,7 +423,7 @@ CoupledLaplaceProblem<dim>::make_grid()
   triangulation.refine_global(4);
 
   for (const auto &cell : triangulation.active_cell_iterators())
-    for (const auto face : cell->face_iterators())
+    for (const auto &face : cell->face_iterators())
       {
         // We choose the boundary in positive x direction for the
         // interface coupling.

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.