Skip to content

Commit b1db366

Browse files
style: auto-fix linting issues
1 parent 016d647 commit b1db366

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

codeflash/discovery/functions_to_optimize.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,8 +1008,7 @@ def _bounded_levenshtein(s1: str, s2: str, max_distance: int) -> int:
10081008
t = min(b, a)
10091009
val = min(t, c)
10101010
current[j] = val
1011-
if val < min_in_band:
1012-
min_in_band = val
1011+
min_in_band = min(min_in_band, val)
10131012

10141013
# Move current to previous for next iteration
10151014
previous = current

0 commit comments

Comments
 (0)