facebookresearch / nocturne

A data-driven, fast driving simulator for multi-agent coordination under partial observability.
MIT License
259 stars 29 forks source link

Fix a bug for RangeTree2d when the input size is 2^n #35

Closed xiaomengy closed 2 years ago

xiaomengy commented 2 years ago

When the input size is exactly 2^n, there will some issues in the previous RangeTree2d. The impact of this bug should be limited since the probability of having exactly 2^n road points should be pretty low.