From 82c27cea327ddbba5d98c6a7b2a9c7b6ab41241e Mon Sep 17 00:00:00 2001 From: Marco Feder Date: Wed, 4 Sep 2024 13:36:56 +0200 Subject: [PATCH] Compile --- source/agglomeration_handler.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/source/agglomeration_handler.cc b/source/agglomeration_handler.cc index 2c1c403c..cd376840 100644 --- a/source/agglomeration_handler.cc +++ b/source/agglomeration_handler.cc @@ -204,16 +204,15 @@ void AgglomerationHandler::distribute_agglomerated_dofs( const FiniteElement &fe_space) { - Assert((std::is_same_v &, decltype(fe_space)> || - std::is_same_v &, decltype(fe_space)>), - ExcNotImplemented( - "Currently, this interface supports only DGQ and DGP bases.")); if (dynamic_cast *>(&fe_space)) fe = std::make_unique>(fe_space.degree); else if (dynamic_cast *>(&fe_space)) fe = std::make_unique>(fe_space.degree); else - AssertThrow(false, ExcInternalError()); + AssertThrow( + false, + ExcNotImplemented( + "Currently, this interface supports only DGQ and DGP bases.")); if (hybrid_mesh)