Skip to content

Commit 497ae1a

Browse files
committed
fixing arguments order
1 parent d9174a8 commit 497ae1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

strings/levenshteinDistance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"fmt"
1111
)
1212

13-
func levenshteinDistance(str1, str2 string, icost, dcost, scost int) int {
13+
func levenshteinDistance(str1, str2 string, icost, scost, dcost int) int {
1414
row1 := make([]int, len(str2)+1)
1515
row2 := make([]int, len(str2)+1)
1616
var tmp []int

0 commit comments

Comments
 (0)