commit 1ba9131238192b74b88d6c4308b6d3e09abcf16d
parent 1992a5ca1f9de79b6368f0c6a38fabe85174af49
Author: Jared Tobin <jared@jtobin.ca>
Date:   Sat, 10 Oct 2015 00:38:41 +1300
Fix test (whoops).
Diffstat:
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/declarative.cabal b/declarative.cabal
@@ -1,5 +1,5 @@
 name:                declarative
-version:             0.1.0.0
+version:             0.1.0.1
 synopsis:            DIY Markov Chains.
 homepage:            http://github.com/jtobin/declarative
 license:             MIT
diff --git a/test/Rosenbrock.hs b/test/Rosenbrock.hs
@@ -3,7 +3,6 @@
 module Main where
 
 import Numeric.MCMC
-import Data.Sampling.Types
 
 target :: [Double] -> Double
 target [x0, x1] = negate (5  *(x1 - x0 ^ 2) ^ 2 + 0.05 * (1 - x0) ^ 2)
@@ -18,5 +17,5 @@ transition =
     (sampleT (slice 2.0) (slice 3.0))
 
 main :: IO ()
-main = withSystemRandom . asGenIO $ mcmc 10000 [0, 0] rosenbrock transition
+main = withSystemRandom . asGenIO $ mcmc 10000 [0, 0] transition rosenbrock