Update argument name

This commit is contained in:
Hanno Braun 2024-03-22 14:33:20 +01:00
parent 77cba2b04a
commit 7fc1d406eb

View File

@ -65,7 +65,7 @@ impl Cycle {
let mut sum = Scalar::ZERO;
for (a, b) in self.half_edges().pairs() {
let [a, b] = [a, b].map(|edge| edge.start_position());
let [a, b] = [a, b].map(|half_edge| half_edge.start_position());
sum += (b.u - a.u) * (b.v + a.v);
}