From: Peter Munch <peterrmuench@gmail.com>
Date: Fri, 10 Jun 2022 21:46:34 +0000 (+0200)
Subject: Replace 2*dim
X-Git-Tag: v9.4.0-rc1~37^2
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13953%2Fhead;p=dealii.git

Replace 2*dim
---

diff --git a/include/deal.II/matrix_free/mapping_info.h b/include/deal.II/matrix_free/mapping_info.h
index bd46a1ce5f..ecabdcd953 100644
--- a/include/deal.II/matrix_free/mapping_info.h
+++ b/include/deal.II/matrix_free/mapping_info.h
@@ -164,7 +164,8 @@ namespace internal
        * type 3). Note that both the interior and exterior agree on the type
        * of the data structure, using the more general of the two.
        */
-      std::vector<std::array<GeometryType, 2 * dim>> faces_by_cells_type;
+      std::vector<std::array<GeometryType, GeometryInfo<dim>::faces_per_cell>>
+        faces_by_cells_type;
 
       /**
        * The data cache for the cells.