kassonlab / covid19-epi

Individual-based epidemiological modeling for COVID-19
GNU Lesser General Public License v2.1
5 stars 5 forks source link

Po branch fixing bugs #2

Closed pojeda closed 4 years ago

pojeda commented 4 years ago

the infect contribution for communities needs to be inside the if conditional otherwise the denominator could be zero causing overflows.

Other bugs: symptomatic ->int , one && symbol corrected

weizhanguio commented 4 years ago

Hi, the variable infect may get "nan"

akesandgren commented 4 years ago

Never add files from another pull request. Please redo this from scratch, i.e. drop this branch and PR and make a new one with only the change you made.