packages feed

exp-pairs 0.1.4.0 → 0.1.4.1

raw patch · 4 files changed

+8/−12 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -11,5 +11,5 @@ ----------------  New functions in Math.ExpPairs.Ivic: reverseMOnS, checkAbscissa, findMinAbscissa, mBigOnHalf, reverseMBigOnHalf.-Fast mastrix multiplication via Makarov and Laderman algorithms.+Fast matrix multiplication via Makarov and Laderman algorithms. Rewrite from the scratch pretty printer of processes.
exp-pairs.cabal view
@@ -1,5 +1,5 @@ name:                exp-pairs-version:             0.1.4.0+version:             0.1.4.1 synopsis:            Linear programming over exponent pairs description:         Package implements an algorithm to minimize rational objective function over the set of exponent pairs homepage:            https://github.com/Bodigrim/exp-pairs
tests/Ivic.hs view
@@ -23,9 +23,9 @@   [ a,  b] = map fromMinus3To3 [a', b']   [za, zb] = map (optimalValue . zetaOnS) [a, b] --- May fail due to the granularity of 'sect'.+-- Strict comparison without 3e-4 may fail due to the granularity of 'sect'. testZetaOnS2 :: Sorted (Ratio01 Rational, Ratio01 Rational) -> Bool-testZetaOnS2 (Sorted (Ratio01 a, Ratio01 b)) = a == b || za > zb where+testZetaOnS2 (Sorted (Ratio01 a, Ratio01 b)) = a == b || za + 5e-4 > zb where   [za, zb] = map (optimalValue . zetaOnS) [a, b]  testZetaOnSsym :: Ratio01 Rational -> Bool@@ -97,9 +97,9 @@   , adjustOption (\(SC.SmallCheckDepth n) -> SC.SmallCheckDepth (n `div` 2)) $       SC.testProperty "mOnS monotonic" testMOnS1   , QC.testProperty "mOnS monotonic" testMOnS1-  -- , adjustOption (\(SC.SmallCheckDepth n) -> SC.SmallCheckDepth (n `div` 2)) $-  --     SC.testProperty "mOnS strict monotonic" testMOnS2-  -- , QC.testProperty "mOnS strict monotonic" testMOnS2+  , adjustOption (\(SC.SmallCheckDepth n) -> SC.SmallCheckDepth (n `div` 2)) $+      SC.testProperty "mOnS strict monotonic" testMOnS2+  , QC.testProperty "mOnS strict monotonic" testMOnS2   , SC.testProperty "zetaOnS reverse" testZetaReverse   , QC.testProperty "zetaOnS reverse" testZetaReverse   , SC.testProperty "zetaOnS symmetry" testZetaOnSsym@@ -110,10 +110,6 @@   , QC.testProperty "mOnS below s=1/2" testMOnSZero   , SC.testProperty "mOnS above s=1" testMOnSInf   , QC.testProperty "mOnS above s=1" testMOnSInf-  -- , SC.testProperty "mOnS convex" testMConvex-  -- , QC.testProperty "mOnS convex" testMConvex-  -- , SC.testProperty "zetaOnS convex" testZetaConvex-  -- , QC.testProperty "zetaOnS convex" testZetaConvex   ]  
tests/Kratzel.hs view
@@ -29,7 +29,7 @@  testAbcMonotonic :: Sorted (Positive Integer, Positive Integer, Positive Integer, Positive Integer, Positive Integer, Positive Integer) -> Bool testAbcMonotonic (Sorted (Positive a, Positive d, Positive b, Positive e, Positive c, Positive f))-  = (a == d && b == e && c == f) || theoremAbc `elem` [Kolesnik, Kr64] || zabc >= zdef+  = (a == d && b == e && c == f) || theoremAbc `elem` [Kolesnik, Kr64, Kr65] || zabc >= zdef     where       (theoremAbc, resultAbc) = tauabc a b c       zabc = optimalValue resultAbc