Skip to content

Commit

Permalink
Increase strictness of cycle validation
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Oct 18, 2022
1 parent cd8ebed commit 7ea5a82
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 @@ -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"
);
}
Expand Down

0 comments on commit 7ea5a82

Please sign in to comment.