From: Wolfgang Bangerth Date: Thu, 11 Feb 2021 22:54:15 +0000 (-0700) Subject: Work around another compiler issue. X-Git-Tag: v9.3.0-rc1~455^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=578555938c23be8fe2bcd6d0e27fab32267c95f8;p=dealii.git Work around another compiler issue. --- 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]; }