Skip to content

Commit

Permalink
Update src/Statistics.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Andreas Noack <andreas@noack.dk>
  • Loading branch information
josemanuel22 and andreasnoack authored May 28, 2024
1 parent 547bf4d commit 9e96507
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Statistics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ mean(f, A::AbstractArray; dims=:) = _mean(f, A, dims)
mean!(r, v)
Compute the mean of `v` over the singleton dimensions of `r`, and write results to `r`.
Note that since the mean! function is intended to operate without making any allocations,
the target should not alias with the source.
Note that the target must not alias with the source.
# Examples
```jldoctest
Expand Down

0 comments on commit 9e96507

Please sign in to comment.