]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make function const
authorMartin Kronbichler <martin.kronbichler@it.uu.se>
Mon, 13 Dec 2021 19:02:16 +0000 (20:02 +0100)
committerMartin Kronbichler <martin.kronbichler@it.uu.se>
Mon, 13 Dec 2021 19:02:16 +0000 (20:02 +0100)
include/deal.II/matrix_free/shape_info.templates.h

index 3d59bb92c9911398b44f1887de92fb9ad52e7495..fd13f5fb0f692b199b7f9ea017dee3192218958f 100644 (file)
@@ -854,7 +854,7 @@ namespace internal
           // (similar to MappingInfoStorage::QuadratureDescriptor::initialize)
           if (dim == 3)
             {
-              auto compute_orientations =
+              const auto compute_orientations =
                 [](const unsigned int      n,
                    Table<2, unsigned int> &face_orientations) {
                   face_orientations.reinit(8, n * n);

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.