stefankoegl / kdtree

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

Return None when remove the root node #50

Closed changle0703 closed 4 years ago

changle0703 commented 4 years ago

Return None when remove the root node

younik commented 4 years ago

Use

tree = tree.remove(point)

instead of

tree.remove(point)

changle0703 commented 4 years ago

Use

tree = tree.remove(point)

instead of

tree.remove(point)

Yes of course, I was just suggesting a tiny modification of the definition of remove