From b5585f1a844b9c64c286f7ea815be0e6166ec9c9 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Mon, 13 Dec 2021 20:02:16 +0100 Subject: [PATCH] Make function const --- include/deal.II/matrix_free/shape_info.templates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/deal.II/matrix_free/shape_info.templates.h b/include/deal.II/matrix_free/shape_info.templates.h index 3d59bb92c9..fd13f5fb0f 100644 --- a/include/deal.II/matrix_free/shape_info.templates.h +++ b/include/deal.II/matrix_free/shape_info.templates.h @@ -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); -- 2.39.5