diff --git a/crates/fj-kernel/src/objects/cycle.rs b/crates/fj-kernel/src/objects/cycle.rs index f34237e03..d7d219b02 100644 --- a/crates/fj-kernel/src/objects/cycle.rs +++ b/crates/fj-kernel/src/objects/cycle.rs @@ -29,8 +29,8 @@ impl Cycle { // surface. for edge in &half_edges { assert_eq!( - &surface, - edge.surface(), + surface.id(), + edge.surface().id(), "Edges in cycle not defined in same surface" ); }