Skip to content

Commit 528be73

Browse files
authored
Update qsort.jl (#98)
1 parent c0bd925 commit 528be73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sort/qsort.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ midpoint(lo::Integer, hi::Integer) = midpoint(promote(lo, hi)...)
44
import Base.Sort.Algorithm
55
struct HeapSortAlg <: Algorithm end
66

7-
if VERSION >= v"1.9.0-DEV.1635"
7+
if false #VERSION >= v"1.9.0-DEV.1635" - it seems julia dropped this, we keep it in case
88
struct QuickSortAlg <: Algorithm end # we define it here because Julia 1.9.0-DEV.1635 dropped it / QuickSort = PartialQuickSort{Missing, Missing}
99
# fall back to QuickSortAlg -
1010
ds_sort!(v, idx::Vector{<:Integer}, lo::Integer, hi::Integer, a::PartialQuickSort{Missing, Missing}, o::Ordering) = ds_sort!(v, idx, lo::Integer, hi, QuickSortAlg(), o)

0 commit comments

Comments
 (0)