impact-hiv / NepidemiX

Python library for simulating contact processes on network.
BSD 3-Clause "New" or "Revised" License
6 stars 6 forks source link

Bug in simulation main loop when constantTopology=False or runNetworkUpdate=True #2

Closed ahrenberg closed 12 years ago

ahrenberg commented 12 years ago

There seems to be an error with copying graph information between iterations in the main loop if the network update is carried out, basically resulting in incorrect mean field values. This could also impact the constant topology or runNetworkUpdate=False in some cases.