final_size returns final epidemic sizes of 0.0 for any prop_initial_infected (> 0.0) when r0 < 1.0. This is implausible as some individuals are already initially infected. The algorithm implemented here (most likely) does not work for r0 < 1.0, and final_size should stop when r0 < 1.0 is provided.
final_size
returns final epidemic sizes of 0.0 for anyprop_initial_infected
(> 0.0) whenr0
< 1.0. This is implausible as some individuals are already initially infected. The algorithm implemented here (most likely) does not work forr0
< 1.0, andfinal_size
should stop whenr0
< 1.0 is provided.