Skip to content

Commit

Permalink
Fix the default value of the argument corrected in mean_and_std
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenszhu committed Oct 6, 2022
1 parent 17178ad commit 259b6f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/moments.jl
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Finally, bias correction is applied to the
standard deviation calculation if `corrected=true`.
See [`std`](@ref) documentation for more details.
"""
function mean_and_std(x; corrected::Bool=true)
function mean_and_std(x; corrected::Bool=false)
m = mean(x)
s = std(x, mean=m, corrected=corrected)
m, s
Expand Down

0 comments on commit 259b6f5

Please sign in to comment.