-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix for base boundaries and fix for stackoverflow
When dist happens to be on exact base boundaries, the wrong decision was being made. For example when the distance between a and b is exactly 1, it will not correctly insert the second node. Leading to wrong size() computation and wrong neighbor retrieval. And, nodes toString, equals and hashCode yield StackOverflowError because they used parent and children.
- Loading branch information
Daniel Tischner
committed
Nov 4, 2019
1 parent
acd252e
commit d0eecc5
Showing
2 changed files
with
19 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters