From 3aa8056951d5f7c85e87291da6c861d926320921 Mon Sep 17 00:00:00 2001 From: David Bold Date: Tue, 27 Oct 2026 14:04:26 +0100 Subject: [PATCH] Fix setValid Do not set setValid on a copy --- src/mesh/parallel/fci.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesh/parallel/fci.cxx b/src/mesh/parallel/fci.cxx index 6b68a6635c..92531bfdfa 100644 --- a/src/mesh/parallel/fci.cxx +++ b/src/mesh/parallel/fci.cxx @@ -347,7 +347,7 @@ FCITransform::FCITransform(Mesh& mesh, const Coordinates::FieldMetric& dy, bool if (bndry->dir() == bndry2->dir()) { continue; } - for (auto point : *bndry) { + for (auto& point : *bndry) { for (auto point2 : *bndry2) { if (point.ind() == point2.ind()) { // This point has a boundary in both directions. Calculate the