packages feed

statistics 0.11.0.1 → 0.11.0.2

raw patch · 3 files changed

+5/−5 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Statistics/Function/Comparison.hs view
@@ -17,8 +17,8 @@     ) where  import Control.Monad.ST (runST)-import Data.Int (Int64) import Data.Primitive.ByteArray (newByteArray, readByteArray, writeByteArray)+import Data.Word (Word64)  -- | Compare two 'Double' values for approximate equality, using -- Dawson's method.@@ -32,7 +32,7 @@   buf <- newByteArray 8   ai0 <- writeByteArray buf 0 a >> readByteArray buf 0   bi0 <- writeByteArray buf 0 b >> readByteArray buf 0-  let big  = 0x8000000000000000 :: Int64+  let big  = 0x8000000000000000 :: Word64       ai | ai0 < 0   = big - ai0          | otherwise = ai0       bi | bi0 < 0   = big - bi0
Statistics/Resampling.hs view
@@ -141,9 +141,9 @@     brs = pfxSumR . G.map (subtract m) $ samp     m = mean samp     n = fromIntegral len-    go al ar bl br = (al + ar - (b * b) / q) / q+    go al ar bl br = (al + ar - (b * b) / q) / (q - c)       where b = bl + br-            q = n - (1 + c)+            q = n - 1     len = G.length samp  -- | /O(n)/ Compute the unbiased jackknife variance of a sample.
statistics.cabal view
@@ -1,5 +1,5 @@ name:           statistics-version:        0.11.0.1+version:        0.11.0.2 synopsis:       A library of statistical types, data, and functions description:   This library provides a number of common functions and types useful