From: David Wells Date: Tue, 6 May 2025 21:32:46 +0000 (-0400) Subject: GridGenerator: initialize with numbers::invalid_unsigned_int. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F18429%2Fhead;p=dealii.git GridGenerator: initialize with numbers::invalid_unsigned_int. --- diff --git a/source/grid/grid_generator.cc b/source/grid/grid_generator.cc index 44be1c3b82..6e4b6a050e 100644 --- a/source/grid/grid_generator.cc +++ b/source/grid/grid_generator.cc @@ -8164,6 +8164,7 @@ namespace GridGenerator // temporary array storing the global indices of each cell entity in the // sequence: vertices, edges/faces, cell std::array local_vertex_indices; + local_vertex_indices.fill(numbers::invalid_unsigned_int); // (i) copy the existing vertex locations for (const auto v : cell->vertex_indices())