ahwillia/Einsum.jl

Julia 0.6 deprecation warning messages

RaulDurand opened this issue · 4 comments

When using Einsum in Julia 0.6 we get the message:

WARNING: Array{T}(::Type{T}, m::Int, n::Int, o::Int) is deprecated, use Array{T}(m, n, o) instead.

As far as I can see, there is only one place where Array is used, and that has been updated some time ago to remove this warning.

Which version are you using? Can you try to narrow down the problem?

They are fixed on master but we should tag a new version so that users don't need to run Pkg.checkout("Einsum"). Usually this is done with:

julia> PkgDev.tag("Einsum")
julia> PkgDev.publish()

But I'm running into an error, JuliaLang/PkgDev.jl#101

Note that in #29 I added Compat, so that the undef syntax should work on both 1.0 and 0.6. But this error looks like it might be from a version for julia before 0.6.

Seems to work on the current 0.6 build, and should be fixed in the next published release.