commit 5d661c6bf003cd16bdcce4cfe8f85865366fadd1
parent 7f0ae5e53c94e9289936f655b8e1ce1bd46dd6ed
Author: Jared Tobin <jared@jtobin.ca>
Date: Wed, 14 Mar 2018 14:56:16 -0700
Fix dependency problem, add proper dep bounds.
Diffstat:
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/Numeric/MCMC/Hamiltonian.hs b/Numeric/MCMC/Hamiltonian.hs
@@ -126,7 +126,7 @@ hamiltonian
=> Double -> Int -> Transition m (Chain (t Double) b)
hamiltonian e l = do
Chain {..} <- get
- r0 <- lift (for chainPosition (const MWC.standard))
+ r0 <- lift (for chainPosition (const MWC.standardNormal))
zc <- lift (MWC.uniform :: PrimMonad m => Prob m Double)
let (q, r) = leapfrogIntegrator chainTarget e l (chainPosition, r0)
perturbed = nextState chainTarget (chainPosition, q) (r0, r) zc
diff --git a/hasty-hamiltonian.cabal b/hasty-hamiltonian.cabal
@@ -1,5 +1,5 @@
name: hasty-hamiltonian
-version: 1.3.0
+version: 1.3.2
synopsis: Speedy traversal through parameter space.
homepage: http://github.com/jtobin/hasty-hamiltonian
license: MIT
@@ -53,7 +53,7 @@ library
base >= 4 && < 6
, kan-extensions >= 5 && < 6
, mcmc-types >= 1.0.1
- , mwc-probability >= 1.0.1
+ , mwc-probability >= 2.0 && < 3
, lens >= 4 && < 5
, pipes >= 4 && < 5
, primitive >= 0.5 && < 1.0
@@ -69,6 +69,6 @@ Test-suite booth
build-depends:
ad >= 4 && < 5
, base >= 4 && < 6
- , mwc-probability >= 1.0.1
+ , mwc-probability >= 2.0 && < 3
, hasty-hamiltonian
diff --git a/stack-travis.yaml b/stack-travis.yaml
@@ -2,7 +2,7 @@ flags: {}
packages:
- '.'
extra-deps: []
-resolver: lts-8.13
-compiler: ghc-8.0.2
+resolver: lts-11.0
+compiler: ghc-8.2.2
system-ghc: false
install-ghc: true
diff --git a/stack.yaml b/stack.yaml
@@ -2,4 +2,4 @@ flags: {}
packages:
- '.'
extra-deps: []
-resolver: lts-8.13
+resolver: lts-11.0