From 7ac105648cb78ff69a77a4ff849d1affad6ed6a3 Mon Sep 17 00:00:00 2001 From: Lilith Orion Hafner Date: Wed, 9 Nov 2022 10:04:46 +0600 Subject: [PATCH] Ignore passed in scratch space 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. --- src/SortingAlgorithms.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SortingAlgorithms.jl b/src/SortingAlgorithms.jl index 7963b9a..8d36d79 100644 --- a/src/SortingAlgorithms.jl +++ b/src/SortingAlgorithms.jl @@ -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