Skip to content

Commit 39f6332

Browse files
authored
Merge pull request #96 from josemanuel22/mean_may_return_incorrect_results
adding docu to mean! explain target should not alias with the source
2 parents 9addbb8 + db3682b commit 39f6332

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Statistics.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ end
121121
mean!(r, v)
122122
123123
Compute the mean of `v` over the singleton dimensions of `r`, and write results to `r`.
124+
Note that the target must not alias with the source.
124125
125126
# Examples
126127
```jldoctest

0 commit comments

Comments
 (0)