mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-06 17:40:55 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
29f60d10f9
commit
723ab7faf0
|
@ -50,7 +50,7 @@ def adaptive_merge_sort_helper(array: list, aux: list, low: int, high: int) -> N
|
|||
|
||||
if array[mid] <= array[mid + 1]:
|
||||
print(f"Skipping merge as array[{mid}] <= array[{mid + 1}]")
|
||||
array[low:high + 1] = aux[low:high + 1]
|
||||
array[low : high + 1] = aux[low : high + 1]
|
||||
return
|
||||
|
||||
merge(array, aux, low, mid, high)
|
||||
|
|
Loading…
Reference in New Issue
Block a user