Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ad7fbab

Browse files
committedOct 16, 2024·
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b08a35c commit ad7fbab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎sorts/adaptive_merge_sort.py

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.