]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix undefined references
authorPeter Munch <peterrmuench@gmail.com>
Mon, 18 Sep 2023 12:00:10 +0000 (14:00 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Mon, 18 Sep 2023 12:00:10 +0000 (14:00 +0200)
source/fe/fe_hermite.cc

index 83d8980900e26d28f91e9711b39b31ad59ad812d..cbeb83393842f2a18fc027142880d1e6303730b5 100644 (file)
@@ -203,8 +203,8 @@ namespace internal
   hermite_face_lexicographic_to_hierarchic_numbering(
     const unsigned int regularity)
   {
-    return (dim > 1) ? hermite_lexicographic_to_hierarchic_numbering<dim - 1>(
-                         regularity) :
+    return (dim > 1) ? hermite_lexicographic_to_hierarchic_numbering<
+                         std::max(dim - 1, 1)>(regularity) :
                        std::vector<unsigned int>();
   }
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.