commit 2b870a193d9aafcf397420a3198429af44ae5abc
parent 38b0b28dd9948534baeffbddf8a0e0073e7bb51d
Author: Jared Tobin <jared@jtobin.ca>
Date: Tue, 4 Aug 2015 12:36:10 -0230
Misc updates.
* Add stack.yaml
* Minor version bump
* Update .gitignore
Diffstat:
4 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -1,2 +1,3 @@
dist
*swp
+.stack-work
diff --git a/Data/Sampling/Types.hs b/Data/Sampling/Types.hs
@@ -78,7 +78,7 @@ createTargetWithoutGradient :: (Parameters -> Double) -> Target
createTargetWithoutGradient f = Target f Nothing
handleGradient :: Maybe t -> t
-handleGradient Nothing = error "handleGradient: no gradient provided"
+handleGradient Nothing = error "handleGradient: target has no gradient"
handleGradient (Just g) = g
type Environment a = Map String a
diff --git a/mcmc-types.cabal b/mcmc-types.cabal
@@ -1,5 +1,5 @@
name: mcmc-types
-version: 0.1.0.3
+version: 0.1.0.4
synopsis: Common types for sampling.
description: Common types for sampling.
homepage: http://github.com/jtobin/mcmc-types
diff --git a/stack.yaml b/stack.yaml
@@ -0,0 +1,5 @@
+flags: {}
+packages:
+- '.'
+extra-deps: []
+resolver: lts-2.21