Skip to content

Commit

Permalink
Remove unmatched parenthesis (#112)
Browse files Browse the repository at this point in the history
This PR removes an unmatched parenthesis in the end of an expression in the docstring for `var`.
  • Loading branch information
KronosTheLate committed Jun 8, 2022
1 parent c38dd44 commit e133202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Statistics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ The algorithm returns an estimator of the generative distribution's variance
under the assumption that each entry of `itr` is a sample drawn from the same
unknown distribution, with the samples uncorrelated.
For arrays, this computation is equivalent to calculating
`sum((itr .- mean(itr)).^2) / (length(itr) - 1))`.
`sum((itr .- mean(itr)).^2) / (length(itr) - 1)`.
If `corrected` is `true`, then the sum is scaled with `n-1`,
whereas the sum is scaled with `n` if `corrected` is
`false` where `n` is the number of elements in `itr`.
Expand Down

0 comments on commit e133202

Please sign in to comment.