julia> logspace(1,2,5)
┌ Warning: logspace(start, stop, n; base=10)
is deprecated, use base .^ range(start, stop=stop, length=n)
instead.
│ caller = top-level scope at none:0
└ @ Core none:0
5-element Array{Float64,1}:
10.0
17.78279410038923
31.622776601683793
56.23413251903491
100.0
julia> 10 .^ range(1,stop=2,length=5)
5-element Array{Float64,1}:
10.0
17.78279410038923
31.622776601683793
56.23413251903491
100.0
You should not ignore deprecated syntax (if that is what you are asking). The reason to adopt the recommended [new, non-deprecated] syntax is that is the only way that your code will work going forward. Anything that is deprecated will generate an error in an upcoming release. Using the new syntax will still work.
1 Like
By “Ignore” I meant to say to ignore the topic and not the syntax. I posted this topic but soon found a solution.
Thanks for your input.