Closed astepanov83 closed 6 years ago
The issue is minor
In closest_distance: distances.reserve(k); but should be distances.reserve(data.size());
distances.reserve(k);
distances.reserve(data.size());
Hi, thanks for reporting this issue.
I'll look into fixing it as soon as I have some time.
Fixed in the latest master.
The issue is minor
In closest_distance:
distances.reserve(k);
but should bedistances.reserve(data.size());