mrc-ide / individual

R Package for individual based epidemiological models
https://mrc-ide.github.io/individual
Other
30 stars 16 forks source link

fix bug with cpp event listeners #163

Closed slwu89 closed 2 years ago

slwu89 commented 2 years ago

Fix a simple bug that prevents event listeners written in C++ from executing properly.

codecov[bot] commented 2 years ago

Codecov Report

Merging #163 (516e984) into dev (0175363) will increase coverage by 0.01%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #163      +/-   ##
==========================================
+ Coverage   95.95%   95.96%   +0.01%     
==========================================
  Files          26       26              
  Lines        1210     1214       +4     
==========================================
+ Hits         1161     1165       +4     
  Misses         49       49              
Impacted Files Coverage Δ
R/event.R 71.42% <0.00%> (ø)
inst/include/Event.h 95.06% <0.00%> (-0.07%) :arrow_down:
inst/include/IterableBitset.h 98.52% <0.00%> (-0.01%) :arrow_down:
src/prefab.cpp 100.00% <0.00%> (ø)
inst/include/Variable.h 100.00% <0.00%> (ø)
src/integer_variable.cpp 100.00% <0.00%> (ø)
src/event.cpp 89.09% <0.00%> (+0.41%) :arrow_up:

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 2673963...516e984. Read the comment docs.

slwu89 commented 2 years ago

Hey @giovannic sorry to do this PR without your review, just a simple 1 line fix, needed it for safir.