From b93f0d3267b781557208d5b2576ffbabf7f343a1 Mon Sep 17 00:00:00 2001 From: Hugo Ledoux Date: Mon, 18 Mar 2024 17:16:03 +0100 Subject: [PATCH] Fix bug where jump-and-walk caused a crash the 0 should always be first --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 2c639b6..77f072c 100755 --- a/src/lib.rs +++ b/src/lib.rs @@ -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) {