fix typo in stats module (#10562) [ci skip]
This commit is contained in:
parent
21b256dbc9
commit
7424ea4315
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ proc standardDeviation*[T](x: openArray[T]): float =
|
|||
result = rs.standardDeviation()
|
||||
|
||||
proc standardDeviationS*[T](x: openArray[T]): float =
|
||||
## computes the sanple standardDeviation of `x`
|
||||
## computes the sample standardDeviation of `x`
|
||||
var rs: RunningStat
|
||||
rs.push(x)
|
||||
result = rs.standardDeviationS()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue