epiforecasts / ringbp

Simulate infectious disease transmission with contact tracing
http://epiforecasts.io/ringbp/
Other
15 stars 10 forks source link

data.tables are returned silently #64

Open sbfnk opened 11 months ago

sbfnk commented 11 months ago

E.g. running the readme followed by res will not produce any output until res is called again.

This can be fixed by returning res[] instead of res e.g. in https://github.com/epiforecasts/ringbp/blob/972bf86544e716b52d0da9f60f4681372760e9ec/R/scenario_sim.R#L77