From 4ca1a3f4a0acaa22cce193af09ed7a412cd08ff4 Mon Sep 17 00:00:00 2001 From: David Wells Date: Tue, 6 May 2025 17:32:46 -0400 Subject: [PATCH] GridGenerator: initialize with numbers::invalid_unsigned_int. --- source/grid/grid_generator.cc | 1 + 1 file changed, 1 insertion(+) 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()) -- 2.39.5