From 4d1c0c3239b52eb83d5ab375a9fce8a533335333 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Mon, 18 Mar 2024 12:33:12 +0100 Subject: [PATCH] Update argument name --- crates/fj-core/src/algorithms/approx/cycle.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/fj-core/src/algorithms/approx/cycle.rs b/crates/fj-core/src/algorithms/approx/cycle.rs index cfa546d7b..131bf134f 100644 --- a/crates/fj-core/src/algorithms/approx/cycle.rs +++ b/crates/fj-core/src/algorithms/approx/cycle.rs @@ -29,8 +29,8 @@ impl Approx for (&Cycle, &SurfaceGeometry) { let half_edges = cycle .half_edges() .iter() - .map(|edge| { - (edge.deref(), surface) + .map(|half_edge| { + (half_edge.deref(), surface) .approx_with_cache(tolerance, cache, core) }) .collect();