From: Marc Fehling Date: Thu, 31 Aug 2023 00:31:11 +0000 (-0600) Subject: Added one assertion to setup_line_to_cell. X-Git-Tag: relicensing~536^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac9a89314154404591c8e59ca7da294783325886;p=dealii.git Added one assertion to setup_line_to_cell. --- diff --git a/include/deal.II/matrix_free/hanging_nodes_internal.h b/include/deal.II/matrix_free/hanging_nodes_internal.h index cc770bc39c..03b6596820 100644 --- a/include/deal.II/matrix_free/hanging_nodes_internal.h +++ b/include/deal.II/matrix_free/hanging_nodes_internal.h @@ -474,6 +474,8 @@ namespace internal const unsigned int child_line_idx = child->line_index(neighbor_line); + Assert(child->is_active(), ExcInternalError()); + // Now add all active cells for (const auto &cl : line_to_cells[line_idx]) line_to_cells[child_line_idx].push_back(cl);