From 63a37f411b3b187624b6a206497292c863825e1a Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 24 Jan 2022 11:20:32 -0700 Subject: [PATCH] Use n_isotropic_children() in an assertion. --- include/deal.II/grid/reference_cell.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/deal.II/grid/reference_cell.h b/include/deal.II/grid/reference_cell.h index 28f8229f85..a29c85a9c2 100644 --- a/include/deal.II/grid/reference_cell.h +++ b/include/deal.II/grid/reference_cell.h @@ -1147,6 +1147,7 @@ ReferenceCell::child_cell_on_face( const unsigned char face_orientation_raw) const { AssertIndexRange(face, n_faces()); + AssertIndexRange(subface, face_reference_cell(face).n_isotropic_children()); if (*this == ReferenceCells::Vertex) { -- 2.39.5