BUG: Sliding is applied when using median as pivot in cKDTree, should only be used for midpoint #20605
Labels
defect
A clear bug or issue that prevents SciPy from being installed or used as expected
scipy.spatial
Milestone
As the title says…
The bug relates to how the kd-tree is constructed and internally balanced and does not produce a logic error.
However, sliding midpoint is sliding midpoint. Median is median. Sliding median is not a thing.
This bug has been fixed before, commit a69718a, but has reappeared. Regression due to commit d13a48c.
@peterbell10
The text was updated successfully, but these errors were encountered: