summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--Statistics/Distribution/Normal.hs2
-rw-r--r--statistics.cabal2
3 files changed, 7 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index dca54a5..247f20a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Changes in 0.10.5.1
+
+ * Bug fix for S.Distributions.Normal.standard introduced in 0.10.5.0 (Bug #56)
+
+
Changes in 0.10.5.0
* Enthropy type class for distributions is added.
@@ -5,10 +10,6 @@ Changes in 0.10.5.0
* Probability and probability density of distribution is given in
log domain too.
-Changes in 0.10.4.1
-
- * Bugfix for GHC < 7.6
-
Changes in 0.10.4.0
* Support for versions of GHC older than 7.2 is discontinued.
diff --git a/Statistics/Distribution/Normal.hs b/Statistics/Distribution/Normal.hs
index 10f763f..fcff69e 100644
--- a/Statistics/Distribution/Normal.hs
+++ b/Statistics/Distribution/Normal.hs
@@ -76,7 +76,7 @@ instance D.ContGen NormalDistribution where
standard :: NormalDistribution
standard = ND { mean = 0.0
, stdDev = 1.0
- , ndPdfDenom = m_sqrt_2_pi
+ , ndPdfDenom = log m_sqrt_2_pi
, ndCdfDenom = m_sqrt_2
}
diff --git a/statistics.cabal b/statistics.cabal
index 665f3f6..74d95ff 100644
--- a/statistics.cabal
+++ b/statistics.cabal
@@ -1,5 +1,5 @@
name: statistics
-version: 0.10.5.0
+version: 0.10.5.1
synopsis: A library of statistical types, data, and functions
description:
This library provides a number of common functions and types useful