From 578555938c23be8fe2bcd6d0e27fab32267c95f8 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 11 Feb 2021 15:54:15 -0700 Subject: [PATCH] Work around another compiler issue. --- include/deal.II/grid/reference_cell.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/include/deal.II/grid/reference_cell.h b/include/deal.II/grid/reference_cell.h index 53f4e9ccad..4dc7c10feb 100644 --- a/include/deal.II/grid/reference_cell.h +++ b/include/deal.II/grid/reference_cell.h @@ -935,17 +935,15 @@ ReferenceCell::standard_vertex_to_face_and_vertex_index( } else if (*this == ReferenceCells::Tetrahedron) { - static const std::array table[4] = {{{0, 0}}, - {{0, 1}}, - {{0, 2}}, - {{1, 2}}}; + static const std::array, 4> table = { + {{{0, 0}}, {{0, 1}}, {{0, 2}}, {{1, 2}}}}; return table[vertex]; } else if (*this == ReferenceCells::Pyramid) { - static const std::array table[5] = { - {{0, 0}}, {{0, 1}}, {{0, 2}}, {{0, 3}}, {{1, 2}}}; + static const std::array, 5> table = { + {{{0, 0}}, {{0, 1}}, {{0, 2}}, {{0, 3}}, {{1, 2}}}}; return table[vertex]; } -- 2.39.5