Skip to content

Commit

Permalink
Fix bug where jump-and-walk caused a crash
Browse files Browse the repository at this point in the history
the 0 should always be first
  • Loading branch information
hugoledoux committed Mar 18, 2024
1 parent 38afcc6 commit b93f0d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ impl Triangulation {
self.stars[tr.v[1]].link.insert_after_v(pi, tr.v[2]);
self.stars[tr.v[2]].link.insert_after_v(pi, tr.v[0]);
//-- put infinite vertex first in list
// self.stars[pi].link.infinite_first();
self.stars[pi].link.infinite_first();
}

fn flip31(&mut self, vi: usize) {
Expand Down

0 comments on commit b93f0d3

Please sign in to comment.