]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix some warnings. 14378/head
authorMarc Fehling <mafehling.git@gmail.com>
Fri, 28 Oct 2022 20:16:13 +0000 (14:16 -0600)
committerMarc Fehling <mafehling.git@gmail.com>
Fri, 28 Oct 2022 20:16:13 +0000 (14:16 -0600)
source/cgal/intersections.cc
source/dofs/dof_handler_policy.cc

index a92540520c2ab6c48d693d5fefdfcf7ac7c99d08..e7664bfc01746ec76424bd1261d77a63a370f359 100644 (file)
@@ -384,7 +384,7 @@ namespace CGALWrappers
             internal::mark_domains(cdt);
             std::array<Point<2>, 3> vertices;
 
-            for (const Face_handle &f : cdt.finite_face_handles())
+            for (const Face_handle f : cdt.finite_face_handles())
               {
                 if (f->info().in_domain() &&
                     CGAL::to_double(cdt.triangle(f).area()) > tol)
index cfe4200b21222ca46bffc1a45e2284ba2cdf3e80..d79e3fdc9a01791ada99190c3a1d505187252e76 100644 (file)
@@ -3661,7 +3661,7 @@ namespace internal
         // be assigned.
         types::global_dof_index n_identity_constrained_indices = 0;
         for (const auto &constrained_indices : all_constrained_indices)
-          for (const auto index : constrained_indices)
+          for (const auto &index : constrained_indices)
             if (renumbering[index.first] != numbers::invalid_dof_index)
               ++n_identity_constrained_indices;
 

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.