Skip to content

Commit

Permalink
Ignore passed in scratch space
Browse files Browse the repository at this point in the history
I'm not aware of any users that actually pass ts here, so there is not much reason for base to support receiving scratch space in this way.
  • Loading branch information
LilithHafner committed Nov 9, 2022
1 parent 1bc5ba9 commit 7ac1056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SortingAlgorithms.jl
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ end
## Radix sort
@static if VERSION >= v"1.9.0-DEV.482" # Base introduced radixsort in 1.9
function sort!(vs::AbstractVector{T}, lo::Int, hi::Int, ::RadixSortAlg, o::Ordering, ts::Union{Nothing, AbstractVector{T}}=nothing) where T
sort!(vs, lo, hi, Base.DEFAULT_STABLE, o, ts)
sort!(vs, lo, hi, Base.DEFAULT_STABLE, o)
end
else

Expand Down

0 comments on commit 7ac1056

Please sign in to comment.