Skip to content

Commit

Permalink
Fix typo in accumulate docstring (JuliaLang#28939)
Browse files Browse the repository at this point in the history
  • Loading branch information
garrison authored and rfourquet committed Aug 29, 2018
1 parent fc27b48 commit 39e5742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/accumulate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ cumprod(x::AbstractVector) = cumprod(x, dims=1)
accumulate(op, A; dims::Integer, [init])
Cumulative operation `op` along the dimension `dims` of `A` (providing `dims` is optional
for vectors). An inital value `init` may optionally be provided by a keyword argument. See
for vectors). An initial value `init` may optionally be provided by a keyword argument. See
also [`accumulate!`](@ref) to use a preallocated output array, both for performance and
to control the precision of the output (e.g. to avoid overflow). For common operations
there are specialized variants of `accumulate`, see: [`cumsum`](@ref), [`cumprod`](@ref)
Expand Down

0 comments on commit 39e5742

Please sign in to comment.