We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In src/PooledArrays.jl at lines 202-203, we find the following code
src/PooledArrays.jl
@inline PooledArray(t::Type) = PooledArray(Array(t,0)) @inline PooledArray(t::Type, r::Type) = PooledArray(Array(t,0), r)
which does not work as there is no method Array(::Type,::Int).
Array(::Type,::Int)
I guess the intent was more like Array{t}(undef,0) (or just t[]) instead of Array(t,0).
Array{t}(undef,0)
t[]
Array(t,0)
The text was updated successfully, but these errors were encountered:
fixed bug with empty constructors
004d0e3
fixes JuliaData#85
Successfully merging a pull request may close this issue.
In
src/PooledArrays.jl
at lines 202-203, we find the following codewhich does not work as there is no method
Array(::Type,::Int)
.I guess the intent was more like
Array{t}(undef,0)
(or justt[]
) instead ofArray(t,0)
.The text was updated successfully, but these errors were encountered: