mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
related: #27325 pr: https://github.com/milvus-io/milvus/pull/29031 Signed-off-by: MrPresent-Han <chun.han@zilliz.com>
This commit is contained in:
parent
b639fd66b4
commit
cd34173e55
@ -44,7 +44,7 @@ struct SearchResultPair {
|
||||
|
||||
bool
|
||||
operator>(const SearchResultPair& other) const {
|
||||
if (std::fabs(distance_ - other.distance_) < 0.000001f) {
|
||||
if (std::fabs(distance_ - other.distance_) < 0.0000000119) {
|
||||
return primary_key_ < other.primary_key_;
|
||||
}
|
||||
return distance_ > other.distance_;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user