Skip to content

Commit 0bba11c

Browse files
committed
Use backwards-compatible way to call insertionsort
1 parent a2dcaef commit 0bba11c

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
@@ -1062,7 +1062,7 @@ function pdqsort_loop!(v::AbstractVector, lo::Integer, hi::Integer, a::PatternDe
10621062
# Insertion sort is faster for small arrays.
10631063
if len < PDQ_SMALL_THRESHOLD
10641064
if leftmost
1065-
Base.Sort._sort!(v, InsertionSort, o, (;lo, hi))
1065+
sort!(v, lo, hi, InsertionSort, o)
10661066
else
10671067
unguarded_insertion_sort!(v, lo, hi, o)
10681068
end

0 commit comments

Comments
 (0)