diff --git a/include/delaunator.hpp b/include/delaunator.hpp index 6bc5221..1c77d7c 100644 --- a/include/delaunator.hpp +++ b/include/delaunator.hpp @@ -508,7 +508,7 @@ std::size_t Delaunator::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);