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

Fix AABBTree::rebuild() crashing when the tree contains a single geom #59

Merged
merged 1 commit into from Dec 21, 2017
Merged

Fix AABBTree::rebuild() crashing when the tree contains a single geom #59

merged 1 commit into from Dec 21, 2017

Conversation

ppiastucki
Copy link

The new array should be allocated with a proper length rather than 0 as it leads to ArrayIndexOutOfBoundsException when the tree contains just 1 geom.

@tzaeschke tzaeschke merged commit 1ae5a72 into tzaeschke:master Dec 21, 2017
@tzaeschke
Copy link
Owner

Okay, I pushed a new maven snapshot release. If you find time, maybe you could add a small JUnit test?

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

Successfully merging this pull request may close these issues.

None yet

2 participants