#18 unchecked return from getSubnodeIndex

open
nobody
None
5
2011-07-04
2011-07-04
Sandro Santilli
No

In both Bintree#insert and Quadtree#insertNode there's no check performed on the return from getSubnodeIndex, assuming it will not be -1.
Maybe an assertion should be added.

Discussion