Update variable name

This commit is contained in:
Hanno Braun 2024-09-18 19:59:16 +02:00
parent f568f52fb4
commit 28cc6ce3d3

View File

@ -60,13 +60,13 @@ impl ValidationCheck<Shell> for CurveGeometryMismatch {
geometry: &'r Geometry, geometry: &'r Geometry,
config: &'r ValidationConfig, config: &'r ValidationConfig,
) -> impl Iterator<Item = Self> + 'r { ) -> impl Iterator<Item = Self> + 'r {
let edges_and_surfaces = let half_edges_and_surfaces =
object.all_half_edges_with_surface().collect::<Vec<_>>(); object.all_half_edges_with_surface().collect::<Vec<_>>();
edges_and_surfaces half_edges_and_surfaces
.clone() .clone()
.into_iter() .into_iter()
.cartesian_product(edges_and_surfaces) .cartesian_product(half_edges_and_surfaces)
.filter_map( .filter_map(
|((half_edge_a, surface_a), (half_edge_b, surface_b))| { |((half_edge_a, surface_a), (half_edge_b, surface_b))| {
// We only care about edges referring to the same curve. // We only care about edges referring to the same curve.