jefferislab / RANN

R package providing fast nearest neighbour search (wraps ANN library)
http://jefferislab.github.io/RANN/
58 stars 13 forks source link

bug fix: wrong result dimensions when query is a vector #17

Closed aviezerl closed 8 years ago

aviezerl commented 8 years ago

if query is a vector shouldn't the resulting dimensions be length of query instead of data?

jefferis commented 8 years ago

Good catch – thank you. The R interface code was largely inherited and this has prompted me to find a another error.