From ed5b7fa22f8fbafb8e3f99f33a7834cf9909a4c7 Mon Sep 17 00:00:00 2001 From: Peter Munch Date: Mon, 18 Sep 2023 14:00:10 +0200 Subject: [PATCH] Fix undefined references --- source/fe/fe_hermite.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/fe/fe_hermite.cc b/source/fe/fe_hermite.cc index 83d8980900..cbeb833938 100644 --- a/source/fe/fe_hermite.cc +++ b/source/fe/fe_hermite.cc @@ -203,8 +203,8 @@ namespace internal hermite_face_lexicographic_to_hierarchic_numbering( const unsigned int regularity) { - return (dim > 1) ? hermite_lexicographic_to_hierarchic_numbering( - regularity) : + return (dim > 1) ? hermite_lexicographic_to_hierarchic_numbering< + std::max(dim - 1, 1)>(regularity) : std::vector(); } -- 2.39.5