arithmoi 0.2.0.3 → 0.2.0.4
raw patch · 3 files changed
+4/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Changes +2/−0
- Math/NumberTheory/Primes/Counting/Impl.hs +1/−1
- arithmoi.cabal +1/−1
Changes view
@@ -1,3 +1,5 @@+0.2.0.4:+ Fix bug in nthPrime 0.2.0.3: Fix bug in powerMod 0.2.0.2:
Math/NumberTheory/Primes/Counting/Impl.hs view
@@ -120,7 +120,7 @@ rep | o0 < 0 = 0 | otherwise = sum [1 | i <- [0 .. r2], ba `unsafeAt` i] where- o0 = a - vO - 7+ o0 = strt - vO - 9 -- (strt - 2) - v0 - 7 r0 = fromInteger o0 `rem` 30 r1 = r0 `quot` 3 r2 = min 7 (if r1 > 5 then r1-1 else r1)
arithmoi.cabal view
@@ -1,5 +1,5 @@ name : arithmoi-version : 0.2.0.3+version : 0.2.0.4 cabal-version : >= 1.6 author : Daniel Fischer copyright : (c) 2011 Daniel Fischer