Skip to content

Commit

Permalink
update hsMemory to report new epidodes when time passed = hsMemory in…
Browse files Browse the repository at this point in the history
…stead hsMemory + 1t
  • Loading branch information
acavelan committed Jun 18, 2024
1 parent 87bed56 commit fe5f84e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/Clinical/Episode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ void Episode::flush() {

void Episode::update (const Host::Human& human, Episode::State newState)
{
if( time + ClinicalModel::hsMemory() < sim::ts0() ){
if( time + ClinicalModel::hsMemory() <= sim::ts0() ){
report ();

time = sim::ts0();
Expand Down

0 comments on commit fe5f84e

Please sign in to comment.