Skip to content

Commit 8987188

Browse files
committed
minor fix
1 parent b6b338e commit 8987188

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hnswlib/hnswalg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ namespace hnswlib {
407407
top_candidates.pop();
408408
}
409409

410-
tableint next_closest_entry_point = selectedNeighbors.back();
410+
tableint next_closest_entry_point = selectedNeighbors[0];
411411

412412
{
413413
linklistsizeint *ll_cur;

0 commit comments

Comments
 (0)