summaryrefslogtreecommitdiff
path: root/statistics.lua
diff options
context:
space:
mode:
Diffstat (limited to 'statistics.lua')
-rw-r--r--statistics.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/statistics.lua b/statistics.lua
index aaa4f51..265ccb3 100644
--- a/statistics.lua
+++ b/statistics.lua
@@ -16,7 +16,7 @@ erf = function(x)
if x == 0 then return 0; end
local xSq = x * x
local aXSq = A * xSq
- local v = math.sqrt(1.0 - math.exp(-xSq * (B + aXSq)/(1.0 + aXSq)))
+ local v = math.sqrt(1.0 - math.exp(-xSq * (B + aXSq) / (1.0 + aXSq)))
return (x > 0 and v) or -v
end
@@ -147,4 +147,4 @@ statistics.poisson = function(lambda, max)
return poisson(lambda, max)
end
-return statistics
+return statistics \ No newline at end of file