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

Assertion error on jcv_diagram_generate #49

Open
AtsushiSakai opened this issue Feb 18, 2020 · 1 comment
Open

Assertion error on jcv_diagram_generate #49

AtsushiSakai opened this issue Feb 18, 2020 · 1 comment

Comments

@AtsushiSakai
Copy link

Hi. first of all, thank you so much for your great OSS.
This library is very useful and easy to use. Thanks!!

I might find an issue of this OSS.
When I input a certain data into jcv_diagram_generate function, an assertion was reported:

Assertion failed: (internal->numsites == 1), function jcv_fillgaps, file src/jc_voronoi.h, line 1143.

This repo is a fork of your voronoi repo and I added a test code for reproducing the issue.
https://github.com/AtsushiSakai/voronoi
If you have time, please take a look the file test/assert_text.c file.
https://github.com/AtsushiSakai/voronoi/blob/master/test/assert_test.c
test/invalid_data.h includes input x-y point data for the issue.

#38 might be a same issue.

@grimaldini
Copy link

Same here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants