Skip to content

Commit 73f0e27

Browse files
Minor update to vreduce docstring. (#414)
Noticed this a while ago but figured I'd submit it.
1 parent 0337ba6 commit 73f0e27

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/simdfunctionals/mapreduce.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,10 @@ length_one_axis(::Base.OneTo) = Base.OneTo(1)
101101
length_one_axis(::Any) = 1:1
102102

103103
"""
104-
vreduce(op, destination, A::DenseArray...)
104+
vreduce(op, A::DenseArray; [dims::Int])
105105
106106
Vectorized version of `reduce`. Reduces the array `A` using the operator `op`.
107+
At most one dimension may be supplied as kwarg.
107108
"""
108109
@inline vreduce(op, arg) = vmapreduce(identity, op, arg)
109110

0 commit comments

Comments
 (0)