I am confused about the following:
julia> a = [[1,1] for i = 1:5]
5-element Array{Array{Int64,1},1}:
[1,1]
[1,1]
[1,1]
[1,1]
[1,1]
julia> a + 1
5-element Array{Any,1}:
[2,2]
[2,2]
[2,2]
[2,2]
[2,2]
Specifically, why does the type change from Array{Array{Int64,1},1} to
Array{Any,1}, and what can I do to keep it as Array{Array{Int64,1},1}?
Thanks,
Chris
