From: David Wells Date: Wed, 18 Jan 2023 19:18:21 +0000 (-0500) Subject: Improve two static_assert()s. X-Git-Tag: v9.5.0-rc1~630^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bfe99d40bb87f6d26091121d0ba92d2e5760cb2;p=dealii.git Improve two static_assert()s. --- diff --git a/include/deal.II/hp/fe_collection.h b/include/deal.II/hp/fe_collection.h index c601693591..8287171f3b 100644 --- a/include/deal.II/hp/fe_collection.h +++ b/include/deal.II/hp/fe_collection.h @@ -883,7 +883,7 @@ namespace hp static_assert( is_base_of_all, FETypes...>::value, "Not all of the input arguments of this function " - "are derived from FiniteElement!"); + "are derived from FiniteElement!"); // loop over all of the given arguments and add the finite elements to // this collection. Inlining the definition of fe_pointers causes internal diff --git a/include/deal.II/hp/mapping_collection.h b/include/deal.II/hp/mapping_collection.h index c1c22feef7..594b5045b6 100644 --- a/include/deal.II/hp/mapping_collection.h +++ b/include/deal.II/hp/mapping_collection.h @@ -163,7 +163,7 @@ namespace hp static_assert( is_base_of_all, MappingTypes...>::value, "Not all of the input arguments of this function " - "are derived from FiniteElement!"); + "are derived from Mapping!"); // loop over all of the given arguments and add the mappings to // this collection. Inlining the definition of mapping_pointers causes