Skip to content

Commit 55c7961

Browse files
committed
Fix: remove 2-hop-neighbour visit
1 parent 1eaff90 commit 55c7961

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

include/usearch/index.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4292,9 +4292,6 @@ class index_gt {
42924292

42934293
for (compressed_slot_t hop2_successor_slot : hop2_candidate_neighbors) {
42944294

4295-
if (visits.set(hop2_successor_slot))
4296-
continue;
4297-
42984295
if (predicate(member_cref_t{node_at_(hop2_successor_slot).ckey(), hop2_successor_slot})) {
42994296
distance_t hop2_successor_dist =
43004297
context.measure(query, citerator_at(hop2_successor_slot), metric);

0 commit comments

Comments
 (0)