From: David Wells Date: Sat, 13 Apr 2024 21:25:57 +0000 (-0400) Subject: Use numbers::invalid_unsigned_int. X-Git-Tag: v9.6.0-rc1~356^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4c3dde33893f0c30c4190c9c1d40c828151acbd;p=dealii.git Use numbers::invalid_unsigned_int. --- diff --git a/source/grid/tria.cc b/source/grid/tria.cc index f4603be4c7..de3681962d 100644 --- a/source/grid/tria.cc +++ b/source/grid/tria.cc @@ -3583,7 +3583,7 @@ namespace internal const unsigned int max_faces_per_cell = 2 * dim; - level.active_cell_indices.assign(size, -1); + level.active_cell_indices.assign(size, numbers::invalid_unsigned_int); level.subdomain_ids.assign(size, 0); level.level_subdomain_ids.assign(size, 0);