summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/stats.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/stats.nim b/lib/pure/stats.nim
index ce32108c2..b5c8d3784 100644
--- a/lib/pure/stats.nim
+++ b/lib/pure/stats.nim
@@ -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()