From 308353b1e2a8067fd02c76b78de22b0bf25d3bd6 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Mon, 15 Mar 2021 15:25:08 +0100 Subject: [PATCH] Fix initialization to invalid value --- source/grid/tria.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/grid/tria.cc b/source/grid/tria.cc index 7884f80b19..fbb58c7bca 100644 --- a/source/grid/tria.cc +++ b/source/grid/tria.cc @@ -1249,13 +1249,13 @@ namespace internal tria_level.global_active_cell_indices.insert( tria_level.global_active_cell_indices.end(), total_cells - tria_level.global_active_cell_indices.size(), - numbers::invalid_unsigned_int); + numbers::invalid_dof_index); tria_level.global_level_cell_indices.reserve(total_cells); tria_level.global_level_cell_indices.insert( tria_level.global_level_cell_indices.end(), total_cells - tria_level.global_level_cell_indices.size(), - numbers::invalid_unsigned_int); + numbers::invalid_dof_index); if (dimension < space_dimension) { -- 2.39.5