Sortperm with keyword lt = !isless throws BoundsError

I can reproduce.

Interestingly, this seems to crash every Julia version all the way back to Julia 0.4. However, in Julia 0.3 it throws a BoundsError exception.

I filed an issue: sortperm segfaults with lt=(>=) · Issue #48172 · JuliaLang/julia · GitHub

1 Like