mirror of https://github.com/Yomguithereal/fog.git
Style
This commit is contained in:
parent
ee0ff5c8f6
commit
a1bdb801eb
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue