mirror of https://github.com/milvus-io/milvus.git
[skip ci] add comment for PositivelyRelated (#13080)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>pull/13032/head
parent
fbce4b9f0a
commit
c50ee1a2fc
|
@ -13,6 +13,7 @@ package distance
|
|||
|
||||
import "strings"
|
||||
|
||||
// PositivelyRelated return if metricType are "ip" or "IP"
|
||||
func PositivelyRelated(metricType string) bool {
|
||||
mUpper := strings.ToUpper(metricType)
|
||||
return mUpper == strings.ToUpper(IP)
|
||||
|
|
Loading…
Reference in New Issue