Closed JaredCrean2 closed 6 years ago
Calling similar used to cause a deprecation warning because it used the old array constructor Array(T, dims). This PR changes it to the new array constructor Array{T}(dim).
similar
Array(T, dims)
Array{T}(dim)
Calling
similar
used to cause a deprecation warning because it used the old array constructorArray(T, dims)
. This PR changes it to the new array constructorArray{T}(dim)
.