From 71b108cb9a63314b7559079f7a959802b58fc229 Mon Sep 17 00:00:00 2001 From: Roy Stogner Date: Fri, 31 Jul 2026 22:05:59 -0500 Subject: [PATCH] Use node_ptr_range() when scaling I'm guessing it's just a new C0Poly test that's triggering this because that gave us some node numbering gaps, but I still have no idea why it's only segfaulting for us in a --disable-exceptions build, I'm just thankful that I was able to replicate that. The worst thing Undefined Behavior can do is "what you expect, but not all the time". --- src/mesh/mesh_generation.C | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mesh/mesh_generation.C b/src/mesh/mesh_generation.C index e4215c61bd..ff4812c57b 100644 --- a/src/mesh/mesh_generation.C +++ b/src/mesh/mesh_generation.C @@ -1777,11 +1777,11 @@ void MeshTools::Generation::build_cube(UnstructuredMesh & mesh, } else // !gauss_lobatto_grid { - for (unsigned int p=0; p