mrc-ide / drjacoby

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

Adding Put and Get for RNG around likelihood a prior function calls #111

Closed pwinskill closed 2 years ago

pwinskill commented 2 years ago

Wraps user supplied functions in cpp code with Get and Put RNG state calls to fix #108

Should keep in mind that random number streams a good check if debugging any future issues.

codecov[bot] commented 2 years ago

Codecov Report

Merging #111 (7e61482) into develop (0248fb4) will increase coverage by 0.02%. The diff coverage is 100.00%.

:exclamation: Current head 7e61482 differs from pull request most recent head a8c0cbe. Consider uploading reports for the commit a8c0cbe to get more accurate results

@@             Coverage Diff             @@
##           develop     #111      +/-   ##
===========================================
+ Coverage    91.98%   92.00%   +0.02%     
===========================================
  Files           14       14              
  Lines         1347     1351       +4     
===========================================
+ Hits          1239     1243       +4     
  Misses         108      108              
Impacted Files Coverage Δ
src/Particle.h 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0248fb4...a8c0cbe. Read the comment docs.