scikit-learn/scikit-learn — pull request #2230 by pprett (2013-07-25 15:41:08+00:00)
Title: Neighbors segfault fix

addresses #2190

it sets wraparound=True in the cython header

I've also replaced ``X.shape[-1]`` with ``X.shape[X.ndim - 1]`` .
I haven't done it for ``X.shape[:-1]`` though - if we do that than we can set wraparound=False again (at least I think so).

compiled kd tree and ball tree with cython 0.19.1