From 96cd9fb57a2bf9c20a460af9f6f1a2ce34728997 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Wed, 12 Oct 2022 15:02:13 +0200 Subject: [PATCH] Increase strictness of cycle validation --- crates/fj-kernel/src/objects/cycle.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/fj-kernel/src/objects/cycle.rs b/crates/fj-kernel/src/objects/cycle.rs index b773303e8..a2a527acc 100644 --- a/crates/fj-kernel/src/objects/cycle.rs +++ b/crates/fj-kernel/src/objects/cycle.rs @@ -48,8 +48,8 @@ impl Cycle { let [next, _] = b.vertices(); assert_eq!( - prev.surface_form(), - next.surface_form(), + prev.surface_form().id(), + next.surface_form().id(), "Edges in cycle do not connect" ); }