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 d9500cc commit bd1b38f
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 bd1b38f

Please sign in to comment.