summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamesCook <>2012-09-09 16:03:48 (GMT)
committerhdiff <hdiff@luite.com>2012-09-09 16:03:48 (GMT)
commit33e168f3e0d6e15bd8cd9b0b68273116c4efb4a9 (patch)
treeb139d3cc4d82233227e2e84074f35b26da1a6428
parentf26ccfb359fd23c95c1d6a26b0c282aa3f1984f6 (diff)
version 0.1.1.2HEAD0.1.1.2master
-rw-r--r--roots.cabal5
-rw-r--r--src/Math/Root/Finder/Brent.hs2
2 files changed, 5 insertions, 2 deletions
diff --git a/roots.cabal b/roots.cabal
index daa7366..badf504 100644
--- a/roots.cabal
+++ b/roots.cabal
@@ -1,5 +1,5 @@
name: roots
-version: 0.1.1.1
+version: 0.1.1.2
stability: experimental
cabal-version: >= 1.6
@@ -15,6 +15,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
diff --git a/src/Math/Root/Finder/Brent.hs b/src/Math/Root/Finder/Brent.hs
index 51720cd..8ee18b1 100644
--- a/src/Math/Root/Finder/Brent.hs
+++ b/src/Math/Root/Finder/Brent.hs
@@ -123,7 +123,7 @@ fixMagnitudes br@Brent{ brC = c, brB = b
-- |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