Use Vector{Int64}
or simply Vector{Int}
which is the same.
Your error message would be solved using Vector{<:Integer}
, because of this, but probably you don’t want that, because it is an abstract type.
Use Vector{Int64}
or simply Vector{Int}
which is the same.
Your error message would be solved using Vector{<:Integer}
, because of this, but probably you don’t want that, because it is an abstract type.