Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Lilith Hafner authored and Lilith Hafner committed Jul 19, 2022
1 parent d09dc37 commit 1cb2c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/sort.jl
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ function sort!(v::AbstractVector, lo::Integer, hi::Integer, a::PartialQuickSort,
hi2 = ismissing(a.hi) ? hi : a.hi
if _issorted(v, lo2, hi2, o)
return v
elseif _issorted(v, lo2, hi2, Reverse(o))
elseif _issorted(v, lo2, hi2, ReverseOrdering(o))
return reverse!(v, lo2, hi2)
end
end
Expand Down

0 comments on commit 1cb2c2b

Please sign in to comment.