I’m trying create a array from ranges in Julia 1.1.
lb = [0,0,0,0,0,0,0];
ub = [4,4,4,2,2,2,6];
range.(lb,ub)
UnitRange{Int64}[7]
0:4
0:4
0:4
0:2
0:2
0:2
0:6
Getting this message when I run test
┌ Warning: `range(start, stop)` (with neither `length` nor `step` given) is deprecated, use `range(start, stop=stop)` instead.
│ caller = _broadcast_getindex_evalf at broadcast.jl:578 [inlined]
└ @ Core .\broadcast.jl:578
But for some reason, I cannot create the array when expressed this way:
range.(lb,stop=ub)
MethodError: no method matching (::Colon)(::Int64, ::Array{Int64,1})