From 4213ace578895cef343fba96daba0190f73849b3 Mon Sep 17 00:00:00 2001 From: Bruno Blais Date: Sun, 11 Feb 2024 16:10:43 -0500 Subject: [PATCH] Add const qualifier --- source/grid/grid_generator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/grid/grid_generator.cc b/source/grid/grid_generator.cc index c682fbcf03..5082ba34eb 100644 --- a/source/grid/grid_generator.cc +++ b/source/grid/grid_generator.cc @@ -6482,7 +6482,7 @@ namespace GridGenerator std::min(1e-3 * (outer_radius - inner_radius), 1e-3 * length); double mid_radial_distance = 0.5 * (outer_radius - inner_radius); - for (auto &cell : tria.active_cell_iterators()) + for (const auto &cell : tria.active_cell_iterators()) for (const unsigned int f : GeometryInfo<3>::face_indices()) { if (!cell->face(f)->at_boundary()) -- 2.39.5