mirror of
https://github.com/vbatts/go-mtree.git
synced 2025-10-04 12:31:00 +00:00
update github.com/urfave/cli/v2 v2.27.5 -> v2.27.7
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
b454bc0bdd
commit
da220ef733
10 changed files with 43 additions and 27 deletions
2
vendor/github.com/xrash/smetrics/jaro.go
generated
vendored
2
vendor/github.com/xrash/smetrics/jaro.go
generated
vendored
|
@ -75,7 +75,7 @@ func Jaro(a, b string) float64 {
|
|||
}
|
||||
|
||||
// The number of unaligned matches divided by two, is the number of _transpositions_.
|
||||
transpositions := math.Floor(float64(unaligned / 2))
|
||||
transpositions := math.Floor(float64(unaligned) / 2)
|
||||
|
||||
// Jaro distance is the average between these three numbers:
|
||||
// 1. matches / length of string A
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue