-
Notifications
You must be signed in to change notification settings - Fork 752
Open
Description
I'm integrating hnswlib into my own code, I have the following suggestions:
- I think that the data passed to
addPointshould beconst void *.
Line 773 in 44f20f0
| void addPoint(void *data_point, labeltype label) { |
- I think that
searchKnnshuld first check if the "container" is empty, in wich case a search may result in a core dump.
Line 486 in 44f20f0
std::priority_queue<std::pair<dist_t, tableint>> searchKnnInternal(void *query_data, int k) {
Metadata
Metadata
Assignees
Labels
No labels