Skip to content

Commit

Permalink
remove accidentally added duplicate file (#522)
Browse files Browse the repository at this point in the history
Signed-off-by: Buqian Zheng <[email protected]>
  • Loading branch information
zhengbuqian committed Apr 24, 2024
1 parent f7ce925 commit 6e3c2dc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 351 deletions.
2 changes: 1 addition & 1 deletion include/knowhere/index/index_node.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class IndexNode : public Object {
while (it->HasNext()) {
auto [id, dist] = it->Next();
// too close
if (similarity_metric ? dist >= range_filter : dist <= range_filter) {
if (similarity_metric ? dist > range_filter : dist < range_filter) {
continue;
}
// too far
Expand Down
350 changes: 0 additions & 350 deletions include/knowhere/index_node.h

This file was deleted.

0 comments on commit 6e3c2dc

Please sign in to comment.