Skip to content

Commit

Permalink
Use surface identity for validation in Cycle
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Oct 6, 2022
1 parent d3f7562 commit 1bb6ed8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/fj-kernel/src/objects/cycle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
}
Expand Down

0 comments on commit 1bb6ed8

Please sign in to comment.