We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83288d1 commit 8353586Copy full SHA for 8353586
src/sort/sortperm.jl
@@ -46,7 +46,7 @@ function fast_sortperm_int_threaded!(x, original_P, copy_P, ranges, rangelen, mi
46
cnt = 1
47
flag = false
48
#Threads@threads now does not keep the order of the runs, we help starts be sorted before shaping ranges
49
- sort!(starts, by=x->x[1])
+ sort!(starts, by=x->isempty(x) ? missing : x[1])
50
@inbounds for i in 1:length(starts)
51
for j in 1:length(starts[i])
52
ranges[cnt] = starts[i][j]
0 commit comments