diff --git a/crates/fj-kernel/src/objects/cycle.rs b/crates/fj-kernel/src/objects/cycle.rs index a2a527acc..fbde789c0 100644 --- a/crates/fj-kernel/src/objects/cycle.rs +++ b/crates/fj-kernel/src/objects/cycle.rs @@ -62,8 +62,8 @@ impl Cycle { let [_, last] = last.vertices(); assert_eq!( - first.surface_form(), - last.surface_form(), + first.surface_form().id(), + last.surface_form().id(), "Edges do not form a cycle" ); }