Skip to content

Commit

Permalink
Fixed bug that caused an infinite loop, compare delfrrr/delaunator-cp…
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolasschwarz committed Apr 18, 2024
1 parent e25a30f commit 0732206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Delaunator2D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ std::size_t Delaunator2D::legalize(std::size_t a) {
hull_tri[e] = a;
break;
}
e = hull_next[e];
e = hull_prev[e];
} while (e != hull_start);
}
link(a, hbl);
Expand Down

0 comments on commit 0732206

Please sign in to comment.