File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ namespace hnswlib {
182182
183183 while (!candidateSet.empty ()) {
184184 std::pair<dist_t , tableint> curr_el_pair = candidateSet.top ();
185- if ((-curr_el_pair.first ) > lowerBound and top_candidates.size () == ef_construction_) {
185+ if ((-curr_el_pair.first ) > lowerBound && top_candidates.size () == ef_construction_) {
186186 break ;
187187 }
188188 candidateSet.pop ();
@@ -271,7 +271,7 @@ namespace hnswlib {
271271
272272 std::pair<dist_t , tableint> current_node_pair = candidate_set.top ();
273273
274- if ((-current_node_pair.first ) > lowerBound and top_candidates.size () == ef) {
274+ if ((-current_node_pair.first ) > lowerBound && top_candidates.size () == ef) {
275275 break ;
276276 }
277277 candidate_set.pop ();
You can’t perform that action at this time.
0 commit comments