Skip to content

Commit

Permalink
Merge branch 'master' of github.com:cspollard/hunfold
Browse files Browse the repository at this point in the history
  • Loading branch information
cspollard committed Apr 1, 2020
2 parents 32b4b91 + afcc815 commit 811bb41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/MarkovChain.hs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ hamiltonianStep steps eps u du start@(q0s, pe0) = do


if isNaN pef || isNaN kef
then return start
then hamiltonianStep steps eps u du start
else do
step <- bernoulli . min 1 . exp $ (ke p0s + pe0) - (kef + pef)

Expand Down
2 changes: 1 addition & 1 deletion src/Model.hs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ data ModelParam a =
{ _mpInitialValue :: a
, _mpPrior :: ParamPrior a
, _mpVariation :: ModelVar a
} deriving (Generic, Functor)
} deriving (Generic, Functor, Show)

makeLenses ''ModelParam

Expand Down

0 comments on commit 811bb41

Please sign in to comment.