kassonlab / covid19-epi

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

Missing comment creates confusion why houshold index is used with location arrays #13

Closed RogerJL closed 4 years ago

RogerJL commented 4 years ago

https://github.com/kassonlab/covid19-epi/blob/3dab2299c1ec68e5ce945486edac4ccf9b23b658/covid19.c#L130

This first loop is missing a comment, something along the line of / Place one household with one adult at each location / (first loop HH_count is thus both counting households and locations, making code like https://github.com/kassonlab/covid19-epi/blob/3dab2299c1ec68e5ce945486edac4ccf9b23b658/covid19.c#L134 make sense)