commit 4163c6247cde00ca2abf64100568344508fcdd0c
parent ce6912fa6173dfa5fa83cbb4298d22bfb5a32096
Author: Jared Tobin <jared@jtobin.ca>
Date: Tue, 1 Nov 2016 09:17:48 +1300
Bump nonce.
Diffstat:
5 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/mighty-metropolis.cabal b/mighty-metropolis.cabal
@@ -1,5 +1,5 @@
name: mighty-metropolis
-version: 1.0.2
+version: 1.0.3
synopsis: The Metropolis algorithm.
homepage: http://github.com/jtobin/mighty-metropolis
license: MIT
@@ -37,7 +37,7 @@ library
exposed-modules:
Numeric.MCMC.Metropolis
build-depends:
- base < 5
+ base >= 4 && < 6
, pipes >= 4 && < 5
, primitive
, mcmc-types >= 1.0.1
@@ -52,7 +52,7 @@ Test-suite rosenbrock
ghc-options:
-rtsopts
build-depends:
- base < 5
+ base >= 4 && < 6
, mighty-metropolis
, mwc-probability >= 1.0.1
@@ -64,8 +64,8 @@ Test-suite bnn
ghc-options:
-rtsopts
build-depends:
- base < 5
- , containers
+ base >= 4 && < 6
+ , containers >= 0.5 && < 0.6
, mighty-metropolis
, mwc-probability >= 1.0.1
diff --git a/stack-travis.yaml b/stack-travis.yaml
@@ -2,7 +2,7 @@ flags: {}
packages:
- '.'
extra-deps: []
-resolver: lts-5.1
-compiler: ghc-7.10.3
+resolver: lts-7.0
+compiler: ghc-8.0.1
system-ghc: false
install-ghc: true
diff --git a/stack.yaml b/stack.yaml
@@ -2,4 +2,4 @@ flags: {}
packages:
- '.'
extra-deps: []
-resolver: lts-5.1
+resolver: lts-7.0
diff --git a/test/BNN.hs b/test/BNN.hs
@@ -11,5 +11,5 @@ bnn xs = -0.5 * (x0 ^ 2 * x1 ^ 2 + x0 ^ 2 + x1 ^ 2 - 8 * x0 - 8 * x1) where
x1 = index xs 1
main :: IO ()
-main = withSystemRandom . asGenIO $ mcmc 10000 1 (fromList [0, 0]) bnn
+main = withSystemRandom . asGenIO $ mcmc 100 1 (fromList [0, 0]) bnn
diff --git a/test/Rosenbrock.hs b/test/Rosenbrock.hs
@@ -8,5 +8,5 @@ rosenbrock :: [Double] -> Double
rosenbrock [x0, x1] = negate (5 *(x1 - x0 ^ 2) ^ 2 + 0.05 * (1 - x0) ^ 2)
main :: IO ()
-main = withSystemRandom . asGenIO $ mcmc 10000 1 [0, 0] rosenbrock
+main = withSystemRandom . asGenIO $ mcmc 100 1 [0, 0] rosenbrock