From 3bfe99d40bb87f6d26091121d0ba92d2e5760cb2 Mon Sep 17 00:00:00 2001 From: David Wells Date: Wed, 18 Jan 2023 14:18:21 -0500 Subject: [PATCH] Improve two static_assert()s. --- include/deal.II/hp/fe_collection.h | 2 +- include/deal.II/hp/mapping_collection.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5