mrc-ide / odin.dust

Compile odin to dust
https://mrc-ide.github.io/odin.dust
Other
3 stars 1 forks source link

Support for hypergeometric distribution in models #111

Closed richfitz closed 2 years ago

richfitz commented 2 years ago

~This depends on https://github.com/mrc-ide/dust/pull/370, which is still in progress but largely working.~

Implementation is pretty trivial, but I also ruled out using rmhyper and rmultinom as the previous error message was incomprehensible (reported by @cwhittaker1000)

codecov[bot] commented 2 years ago

Codecov Report

Merging #111 (3c3c45b) into master (5961c76) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #111   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            7         7           
  Lines         1067      1078   +11     
=========================================
+ Hits          1067      1078   +11     
Impacted Files Coverage Δ
R/common.R 100.00% <ø> (ø)
R/generate_dust.R 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.