author | Dmitriy Morozov <dmitriy@mrzv.org> |
Thu, 18 Jun 2009 13:20:26 -0700 | |
changeset 5 | 4aed2049d9cc |
parent 4 | d88e548a9aeb |
child 6 | e34a29c36f13 |
ann-kd-tree.cpp | file | annotate | diff | comparison | revisions |
--- a/ann-kd-tree.cpp Thu Jun 18 13:03:18 2009 -0700 +++ b/ann-kd-tree.cpp Thu Jun 18 13:20:26 2009 -0700 @@ -60,7 +60,7 @@ ANNidxArray nn_idx = new ANNidx[k]; ANNdistArray dists = new ANNdist[k]; - int kball = kdtree.annkFRSearch(annq, k, sqRad, nn_idx, dists, eps); + int kball = kdtree.annkFRSearch(annq, sqRad, k, nn_idx, dists, eps); bp::list indices, distances; for (unsigned i = 0; i < k; ++i)