Skip to content

Commit 923a524

Browse files
reduce ambiguities
1 parent 7ca7730 commit 923a524

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/groupby.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,9 @@ of `gv`) and `d` is an integer of the dimension overwhich one need to reduce
426426
`x`.
427427
"""
428428
Base.reduce(f::Function,gv::GroupedVariable) = ReducedGroupedVariable(gv,f)
429+
Base.reduce(f::typeof(hcat),gv::GroupedVariable) = ReducedGroupedVariable(gv,f)
430+
Base.reduce(f::typeof(vcat),gv::GroupedVariable) = ReducedGroupedVariable(gv,f)
431+
429432
Base.reduce(f::Function,gds::GroupedDataset) = ReducedGroupedDataset(gds,f)
430433

431434
for fun in (:maximum, :mean, :median, :minimum, :std, :sum, :var)

0 commit comments

Comments
 (0)