Skip to content

Commit

Permalink
Update src/sort.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Christensen <[email protected]>
  • Loading branch information
LilithHafner and thchr authored Nov 13, 2023
1 parent 9aeba20 commit 51f0592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sort.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ end


@inline _sort(a::StaticVector, alg, order) =
similar_type(a)(sort!(copyo!(similar(a), a); alg=alg, order=order))
similar_type(a)(sort!(copyto!(similar(a), a); alg=alg, order=order))

@inline _sort(a::StaticVector, alg::BitonicSortAlg, order) =
similar_type(a)(_sort(Tuple(a), alg, order))
Expand Down

0 comments on commit 51f0592

Please sign in to comment.