stefankoegl / kdtree

A Python implementation of a kd-tree
ISC License
365 stars 118 forks source link

Correctly handle non-euclidean distances (fixes #40) #43

Open stefankoegl opened 6 years ago

stefankoegl commented 6 years ago

Fix for #40.

dist functions now need to expect an optional axis parameter for calculating the distance on a single axis.