This commit is contained in:
Yomguithereal 2018-08-20 15:26:09 +02:00
parent ee0ff5c8f6
commit a1bdb801eb
1 changed files with 0 additions and 2 deletions

View File

@ -116,7 +116,6 @@ def levenshtein_distance(str A, str B):
j += 1 j += 1
i += 1 i += 1
free(codes) free(codes)
@ -247,7 +246,6 @@ def limited_levenshtein_distance(unsigned int max_distance, str A, str B):
vector[j] = current vector[j] = current
j += 1 j += 1
if have_max and vector[i + diff] > max_distance: if have_max and vector[i + diff] > max_distance: