Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck in Infinite For Loop #44

Closed
JeremyBYU opened this issue Feb 24, 2019 · 2 comments · Fixed by #49
Closed

Stuck in Infinite For Loop #44

JeremyBYU opened this issue Feb 24, 2019 · 2 comments · Fixed by #49
Labels

Comments

@JeremyBYU
Copy link

Hi,
First I just wanted to say that this is great library! I found an issue where delaunator gets stuck in an infinite loop. This bug seems to affect JavaScript and C++ delaunator. Attached is the zip file containing a json file of the points that reproduce the issue. The loop occurs somewhere starting in this for loop: https://github.com/mapbox/delaunator/blob/master/index.js#L147

error.zip

I'll try to look into it myself later. Thanks!

@mourner
Copy link
Member

mourner commented Jun 19, 2019

🎉 #49
image

@JeremyBYU
Copy link
Author

Wow thank you for fixing this!

soerendd pushed a commit to soerendd/delaunator-cpp that referenced this issue Aug 5, 2019
esilvia added a commit to esilvia/delaunator-cpp that referenced this issue Nov 4, 2020
Fixes delfrrr#16 to prevent infinite recursion when a triangle was previously deleted from hull_next.

Port of fix in original JavaScript mapbox/delaunator#44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants