Skip to content

Conversation

Smirne
Copy link
Contributor

@Smirne Smirne commented Oct 14, 2019

#1001 QuadTreeTest was showing intermittent failures.

The problem was due to the Rect data structure using int to store values (x, y, height, width).

Since the QuadTree divides its space in four, we need to either to change the Rect data structure or the divide algorithm.

I find the former more readable and clear.

@iluwatar iluwatar added this to the 1.22.0 milestone Oct 15, 2019
@iluwatar iluwatar merged commit 27c131c into iluwatar:master Oct 15, 2019
@iluwatar
Copy link
Owner

Thanks @Smirne for this fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants