Skip to content

Commit

Permalink
fix using sim::ts0 instead of sim::now in CMDecisionTree (#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
acavelan authored Jul 18, 2024
1 parent 2ea120e commit 9ceae2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/Clinical/CMDecisionTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class CMDTUncomplicated : public CMDecisionTree {

if ( ((hostData.pgState & Episode::SICK) && !(hostData.pgState & Episode::COMPLICATED)) || (hostData.pgState & Episode::MALARIA) )
{
if (latest.time + memory >= sim::ts0())
if (latest.time + memory >= sim::now())
return positive.exec( hostData );
else
return negative.exec( hostData );
Expand Down

0 comments on commit 9ceae2a

Please sign in to comment.