I want to create an array of arrays of int64. But sometimes the type change 
to Any, why? It is a bug?

julia> M = 10
julia> typeof(M)
Int64

julia> list = [[i] for i=1:M]
10-element Array{Any,1}:
 [1] 
 [2] 
 [3] 
 [4] 
 [5] 
 [6] 
 [7] 
 [8] 
 [9] 
 [10]

 list = [[i] for i=1:10]
10-element Array{Array{Int64,1},1}:
 [1] 
 [2] 
 [3] 
 [4] 
 [5] 
 [6] 
 [7] 
 [8] 
 [9] 
 [10]

Grats,
Thuener Silva

Reply via email to