Skip to content

Commit 723ab7f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 29f60d1 commit 723ab7f

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
@@ -50,7 +50,7 @@ def adaptive_merge_sort_helper(array: list, aux: list, low: int, high: int) -> N
5050

5151
if array[mid] <= array[mid + 1]:
5252
print(f"Skipping merge as array[{mid}] <= array[{mid + 1}]")
53-
array[low:high + 1] = aux[low:high + 1]
53+
array[low : high + 1] = aux[low : high + 1]
5454
return
5555

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

0 commit comments

Comments
 (0)