diff --git a/nim/samples.nim b/nim/samples.nim index 448d4c90..c8db61d5 100644 --- a/nim/samples.nim +++ b/nim/samples.nim @@ -27,7 +27,7 @@ proc to(low: float, high: float): float = let loglow = ln(low) let loghigh = ln(high) let logmean = (loglow + loghigh)/2 - let logsigma = (loghigh - loglow) / (2.0 * normal95confidencePoint); + let logsigma = (loghigh - loglow) / (2.0 * normal95confidencePoint) return lognormal(logmean, logsigma) ## echo ur_normal()