Skip to content

Commit 97aa418

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 451d4e1 commit 97aa418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sorts/adaptive_merge_sort.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def adaptive_merge_sort_helper(array: list, aux: list, low: int, high: int):
2424

2525
if array[mid] <= array[mid + 1]:
2626
print(f"Skipping merge as array[{mid}] <= array[{mid + 1}]")
27-
array[low:high + 1] = aux[low:high + 1]
27+
array[low : high + 1] = aux[low : high + 1]
2828
return
2929

3030
merge(array, aux, low, mid, high)

0 commit comments

Comments
 (0)