Update LevenshteinDistance.java
This commit is contained in:
parent
ffd4521601
commit
86263090ff
@ -25,7 +25,7 @@ public class LevenshteinDistance {
|
||||
distance_mat[0][j] = j;
|
||||
}
|
||||
for (int i = 0; i < len_a; i++) {
|
||||
for (int j = 0; i < len_b; j++) {
|
||||
for (int j = 0; j < len_b; j++) {
|
||||
int cost;
|
||||
if (a.charAt(i) == b.charAt(j)) {
|
||||
cost = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user