Skip to content

Commit a53f989

Browse files
committed
Use backwards-compatible way to call insertionsort
1 parent 9d36ce4 commit a53f989

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SortingAlgorithms.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1067,7 +1067,7 @@ function pdqsort_loop!(v::AbstractVector, lo::Integer, hi::Integer, a::PatternDe
10671067
# Insertion sort is faster for small arrays.
10681068
if len < PDQ_SMALL_THRESHOLD
10691069
if leftmost
1070-
Base.Sort._sort!(v, InsertionSort, o, (;lo, hi))
1070+
sort!(v, lo, hi, InsertionSort, o)
10711071
else
10721072
unguarded_insertion_sort!(v, lo, hi, o)
10731073
end

0 commit comments

Comments
 (0)