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
map(f)
This package overwrites Base's behaviour for one-argument map, for example:
map
julia> map(println) # calls println() julia> using FillArrays julia> map(println) ERROR: MethodError: reducing over an empty collection is not allowed; consider supplying `init` to the reducer Stacktrace: [1] reduce_empty(op::Base.MappingRF{typeof(length), Base.BottomRF{typeof(min)}}, #unused#::Type{Union{}}) @ Base ./reduce.jl:356 ... [9] mapreduce(f::Function, op::Function, itr::Tuple{}) @ Base ./reduce.jl:302 [10] map(::Function) @ FillArrays ~/.julia/packages/FillArrays/5Arin/src/fillbroadcast.jl:6 julia> @which map(println) map(f::Function, vs::FillArrays.AbstractFill{<:Any, 1}...) @ FillArrays ~/.julia/packages/FillArrays/5Arin/src/fillbroadcast.jl:5
Blame points to #146 unfortunately...
The text was updated successfully, but these errors were encountered:
Can you produce a fix please?
Sorry, something went wrong.
mapreduce
Successfully merging a pull request may close this issue.
This package overwrites Base's behaviour for one-argument
map
, for example:Blame points to #146 unfortunately...
The text was updated successfully, but these errors were encountered: