1
0
Fork 0
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:
Vincent Batts 2025-09-08 10:46:20 -04:00
parent b454bc0bdd
commit da220ef733
Signed by: vbatts
GPG key ID: E30EFAA812C6E5ED
10 changed files with 43 additions and 27 deletions

View file

@ -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