Skip to content

Commit 2de4f71

Browse files
committed
More fix
1 parent 418c16f commit 2de4f71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/host/sorting.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ function Base.sortperm!(ix::AnyGPUArray, A::AnyGPUArray; initialized=false, dims
5151
return ix
5252
end
5353

54-
function Base.sortperm(c::AnyGPUVector; kwargs...)
55-
AK.merge_sortperm!(KA.allocate(get_backend(c), Int, length(c)), c; initialized=false, kwargs...)
54+
function Base.sortperm(c::AnyGPUVector; initialized=false, kwargs...)
55+
AK.merge_sortperm!(KA.allocate(get_backend(c), Int, length(c)), c; kwargs...)
5656
end
5757

5858
function Base.sortperm(c::AnyGPUArray; dims, kwargs...)

0 commit comments

Comments
 (0)