Type instability of array getindex

array is an abstract type. did you want Vector{Int}?

3 Likes