]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Improve two static_assert()s. 14700/head
authorDavid Wells <drwells@email.unc.edu>
Wed, 18 Jan 2023 19:18:21 +0000 (14:18 -0500)
committerDavid Wells <drwells@email.unc.edu>
Wed, 18 Jan 2023 19:18:21 +0000 (14:18 -0500)
include/deal.II/hp/fe_collection.h
include/deal.II/hp/mapping_collection.h

index c601693591c31f33e23de9e73b74f3c4fdc23325..8287171f3ba84791213ba6d1e35c75ece2d9aba6 100644 (file)
@@ -883,7 +883,7 @@ namespace hp
     static_assert(
       is_base_of_all<FiniteElement<dim, spacedim>, FETypes...>::value,
       "Not all of the input arguments of this function "
-      "are derived from FiniteElement<dim,spacedim>!");
+      "are derived from FiniteElement<dim, spacedim>!");
 
     // loop over all of the given arguments and add the finite elements to
     // this collection. Inlining the definition of fe_pointers causes internal
index c1c22feef7a6a60d6d2b555d8311a5a2c27e45eb..594b5045b6a83af1d5295f3e1f9fca715f097c2a 100644 (file)
@@ -163,7 +163,7 @@ namespace hp
     static_assert(
       is_base_of_all<Mapping<dim, spacedim>, MappingTypes...>::value,
       "Not all of the input arguments of this function "
-      "are derived from FiniteElement<dim,spacedim>!");
+      "are derived from Mapping<dim, spacedim>!");
 
     // loop over all of the given arguments and add the mappings to
     // this collection. Inlining the definition of mapping_pointers causes

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.