From af0cb95c1b71bdc23b64df58a5b85fd17dddf57b Mon Sep 17 00:00:00 2001 From: Bruno Turcksin Date: Tue, 26 Oct 2021 18:04:34 +0000 Subject: [PATCH] Relax an assert in DoFTools::map_dofs_to_support_points --- source/dofs/dof_tools.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/dofs/dof_tools.cc b/source/dofs/dof_tools.cc index 8d2725356a..c2bd778cae 100644 --- a/source/dofs/dof_tools.cc +++ b/source/dofs/dof_tools.cc @@ -2134,7 +2134,8 @@ namespace DoFTools ++fe_index) { // check whether every FE in the collection has support points - Assert(fe_collection[fe_index].has_support_points(), + Assert((fe_collection[fe_index].n_dofs_per_cell() == 0) || + (fe_collection[fe_index].has_support_points()), typename FiniteElement::ExcFEHasNoSupportPoints()); q_coll_dummy.push_back(Quadrature( fe_collection[fe_index].get_unit_support_points())); -- 2.39.5