Dict() how to creat in 5.0 ?

julia> typeof(slow)
Array{Any,2}

julia> D=Dict(slow[:,1],slow[:,2])
ERROR: MethodError: no method matching Dict{K,V}(::Array{Any,1}, 
::Array{Any,1})
Closest candidates are:
  Dict{K,V}(::Any) at dict.jl:383
  Dict{K,V}{T}(::Any) at sysimg.jl:53

It is working code from 4.0 
Paul

Reply via email to