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" ); }