@@ -467,7 +467,7 @@ namespace Rodin::Variational
467467 {
468468 case Geometry::Polytope::Type::Point:
469469 {
470- static thread_local constexpr std::array<ElementType, RODIN_MAXIMAL_SPACE_DIMENSION + 1 > s_elements =
470+ static thread_local std::array<ElementType, RODIN_MAXIMAL_SPACE_DIMENSION + 1 > s_elements =
471471 {
472472 ElementType (0 , Geometry::Polytope::Type::Point),
473473 ElementType (1 , Geometry::Polytope::Type::Point),
@@ -478,7 +478,7 @@ namespace Rodin::Variational
478478 }
479479 case Geometry::Polytope::Type::Segment:
480480 {
481- static thread_local constexpr std::array<ElementType, RODIN_MAXIMAL_SPACE_DIMENSION + 1 > s_elements =
481+ static thread_local std::array<ElementType, RODIN_MAXIMAL_SPACE_DIMENSION + 1 > s_elements =
482482 {
483483 ElementType (0 , Geometry::Polytope::Type::Segment),
484484 ElementType (1 , Geometry::Polytope::Type::Segment),
@@ -489,7 +489,7 @@ namespace Rodin::Variational
489489 }
490490 case Geometry::Polytope::Type::Triangle:
491491 {
492- static thread_local constexpr std::array<ElementType, RODIN_MAXIMAL_SPACE_DIMENSION + 1 > s_elements =
492+ static thread_local std::array<ElementType, RODIN_MAXIMAL_SPACE_DIMENSION + 1 > s_elements =
493493 {
494494 ElementType (0 , Geometry::Polytope::Type::Triangle),
495495 ElementType (1 , Geometry::Polytope::Type::Triangle),
@@ -500,7 +500,7 @@ namespace Rodin::Variational
500500 }
501501 case Geometry::Polytope::Type::Quadrilateral:
502502 {
503- static thread_local constexpr std::array<ElementType, RODIN_MAXIMAL_SPACE_DIMENSION + 1 > s_elements =
503+ static thread_local std::array<ElementType, RODIN_MAXIMAL_SPACE_DIMENSION + 1 > s_elements =
504504 {
505505 ElementType (0 , Geometry::Polytope::Type::Quadrilateral),
506506 ElementType (1 , Geometry::Polytope::Type::Quadrilateral),
@@ -511,7 +511,7 @@ namespace Rodin::Variational
511511 }
512512 case Geometry::Polytope::Type::Tetrahedron:
513513 {
514- static thread_local constexpr std::array<ElementType, RODIN_MAXIMAL_SPACE_DIMENSION + 1 > s_elements =
514+ static thread_local std::array<ElementType, RODIN_MAXIMAL_SPACE_DIMENSION + 1 > s_elements =
515515 {
516516 ElementType (0 , Geometry::Polytope::Type::Tetrahedron),
517517 ElementType (1 , Geometry::Polytope::Type::Tetrahedron),
@@ -522,7 +522,7 @@ namespace Rodin::Variational
522522 }
523523 case Geometry::Polytope::Type::Wedge:
524524 {
525- static thread_local constexpr std::array<ElementType, RODIN_MAXIMAL_SPACE_DIMENSION + 1 > s_elements =
525+ static thread_local std::array<ElementType, RODIN_MAXIMAL_SPACE_DIMENSION + 1 > s_elements =
526526 {
527527 ElementType (0 , Geometry::Polytope::Type::Wedge),
528528 ElementType (1 , Geometry::Polytope::Type::Wedge),
@@ -533,7 +533,7 @@ namespace Rodin::Variational
533533 }
534534 }
535535 assert (false );
536- static thread_local constexpr ElementType s_null (0 , Geometry::Polytope::Type::Point);
536+ static thread_local ElementType s_null (0 , Geometry::Polytope::Type::Point);
537537 return s_null;
538538 }
539539
0 commit comments