Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve two static_assert()s. #14700

Merged
merged 1 commit into from
Jan 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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