rank-product 0.1.0.3 → 0.1.0.4
raw patch · 2 files changed
+3/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- rank-product.cabal +1/−1
- src/Statistics/RankProduct.hs +2/−2
rank-product.cabal view
@@ -1,5 +1,5 @@ name: rank-product-version: 0.1.0.3+version: 0.1.0.4 synopsis: Find the rank product of a data set. description: Find the rank product of a data set and get the p-value from a permutation test. homepage: http://github.com/GregorySchwartz/rank-product#readme
src/Statistics/RankProduct.hs view
@@ -36,7 +36,7 @@ rankProduct :: [Entity] -> [RankProductEntity] rankProduct xs = fmap ( RankProductEntity- . (** (1 / (genericLength . head . fmap unEntity $ xs)))+ . (** (1 / (genericLength . unEntity . head $ xs))) . fromIntegral . product )@@ -52,7 +52,7 @@ prerankProduct xs = fmap ( RankProductEntity- . (** (1 / genericLength xs))+ . (** (1 / (genericLength . unRankEntity . head $ xs))) . fromIntegral . product . unRankEntity