mrc-ide / drjacoby

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

Feat/inf #61

Closed pwinskill closed 3 years ago

pwinskill commented 3 years ago

Checks for Inf, NA, NaNs int he output and errors more elegantly if found.

Now the error message also prints the associated theta to help debugging.

Resulted in the about 3% slowdown over 1m iterations - are we happy with that @bobverity ?