roots 0.1.1.1 → 0.1.1.2
raw patch · 2 files changed
+5/−2 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Math.Root.Finder: class RootFinder r a b
+ Math.Root.Finder: class RootFinder r a b where converged xacc r = abs (estimateError r) <= abs xacc defaultNSteps = Tagged 250
Files
- roots.cabal +4/−1
- src/Math/Root/Finder/Brent.hs +1/−1
roots.cabal view
@@ -1,5 +1,5 @@ name: roots-version: 0.1.1.1+version: 0.1.1.2 stability: experimental cabal-version: >= 1.6@@ -14,6 +14,9 @@ synopsis: Root-finding algorithms (1-dimensional) description: Framework for and a few implementations of (1-dimensional) numerical root-finding algorithms.+ .+ Changes in 0.1.1.2: More type signature changes to build+ on GHC 7.6 . Changes in 0.1.1.1: Added Eq contexts where necessary to build on GHC 7.4
src/Math/Root/Finder/Brent.hs view
@@ -123,7 +123,7 @@ -- |debugging function to show a nice trace of the progress of the algorithm _traceBrent :: (PrintfArg a, RealFloat a,- PrintfArg b, Ord b, Num b,+ PrintfArg b, Ord b, RealFrac b, RootFinder Brent a b) => (a -> b) -> Maybe (a, a) -> IO () _traceBrent f mbRange = do