Skip to content

Commit

Permalink
Merge pull request #14700 from drwells/fix-static-assert-messages
Browse files Browse the repository at this point in the history
Improve two static_assert()s.
  • Loading branch information
bangerth committed Jan 18, 2023
2 parents d3e1582 + 3bfe99d commit d1de666
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/deal.II/hp/fe_collection.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion include/deal.II/hp/mapping_collection.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d1de666

Please sign in to comment.