mrc-ide / odin.dust

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

Fix for compilation of vector-using mixed models #104

Closed richfitz closed 2 years ago

richfitz commented 2 years ago

Issue was because we were testing against discrete (model contains discrete steps) not against continuous (model will use continuous time - and therefore use mode). Tidied up the other places this might have bitten too.

The test is pretty rubbish but does generate a model of the same type as the issue that you hit

codecov[bot] commented 2 years ago

Codecov Report

Merging #104 (a501a86) into master (065839e) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #104   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            7         7           
  Lines         1039      1039           
=========================================
  Hits          1039      1039           
Impacted Files Coverage Δ
R/generate_dust.R 100.00% <100.00%> (ø)
R/odin_dust.R 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 065839e...a501a86. Read the comment docs.