SplitApplyCombine.jl icon indicating copy to clipboard operation
SplitApplyCombine.jl copied to clipboard

Warning with groupreduce

Open dunefox opened this issue 3 years ago • 1 comments
trafficstars

When running the groupreduce example I get the following warning:

julia> groupreduce(iseven, +, 1:10)
┌ Warning: use values(kwargs) and keys(kwargs) instead of kwargs.data and kwargs.itr
│   caller = groupreduce(op::typeof(+), groups::MappedArray{Bool, 1, typeof(iseven), UnitRange{Int64}}, values::UnitRange{Int64}; kw::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) at group.jl:125
└ @ SplitApplyCombine ~/.julia/packages/SplitApplyCombine/ulZAx/src/group.jl:125
2-element Dictionaries.Dictionary{Bool, Int64}
 false │ 25
  true │ 30

dunefox avatar Dec 09 '21 13:12 dunefox

I'm getting something similar:

receiving msg from SplitApplyCombine depwarn (Ptr{Nothing} @0x00000001750c955f, :getproperty) use values(kwargs) and keys(kwargs) instead of kwargs.data and kwargs.itr Warn 125 /Users/maximi
lian/.julia/packages/SplitApplyCombine/ulZAx/src/group.jl

Though the issue above is easier to reproduce

max-sixty avatar Dec 19 '21 21:12 max-sixty