From 606b30675d12d0afe4335006b8a67d0c89c5f601 Mon Sep 17 00:00:00 2001 From: David Wells Date: Tue, 9 Apr 2024 19:45:04 -0400 Subject: [PATCH] FE_Q_Base: clean up an assertion. --- source/fe/fe_q_base.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/fe/fe_q_base.cc b/source/fe/fe_q_base.cc index 1959071618..4e05d5396d 100644 --- a/source/fe/fe_q_base.cc +++ b/source/fe/fe_q_base.cc @@ -1662,9 +1662,7 @@ FE_Q_Base::has_support_on_face( const unsigned int quad_index = (shape_index - this->get_first_quad_index(0)) / this->n_dofs_per_quad(face_index); // this won't work - Assert(static_cast(quad_index) < - static_cast(GeometryInfo::quads_per_cell), - ExcInternalError()); + AssertIndexRange(quad_index, GeometryInfo::quads_per_cell); // in 2d, cell bubble are zero on all faces. but we have treated this // case above already -- 2.39.5