Skip to content

Commit 1f10b18

Browse files
committed
Revert combine signature in docstring
1 parent cd2f969 commit 1f10b18

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/accumulators.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,10 @@ See also: [`combine`](@ref)
7979
function split end
8080

8181
"""
82-
combine(acc::TAcc, acc2::TAcc) where {TAcc<:AbstractAccumulator}
82+
combine(acc::AbstractAccumulator, acc2::AbstractAccumulator)
8383
84-
Combine two accumulators of the same type. Returns a new accumulator of the same type.
84+
Combine two accumulators which have the same type (but may, in general, have different type
85+
parameters). Returns a new accumulator of the same type.
8586
8687
See also: [`split`](@ref)
8788
"""

0 commit comments

Comments
 (0)