mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 14:00:35 +00:00
fix typo in stats module (#10562) [ci skip]
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user