mrc-ide / drjacoby

Flexible Markov chain monte carlo via reparameterization
https://mrc-ide.github.io/drjacoby/
Other
12 stars 6 forks source link

Checks on non-finite likelihoods #27

Closed bobverity closed 3 years ago

bobverity commented 4 years ago

Can we add a simple internal check that the loglikelihood is not inf/nan within the MCMC? If so, make program exit elegantly rather than just crashing.

bobverity commented 3 years ago

Done