Skip to content

Commit

Permalink
Fixed error in debug build with Real check
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenhofmeyr committed Nov 6, 2024
1 parent 04511a5 commit f120169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DiseaseStatus.H
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ void DiseaseStatus<AC,ACT,ACTD,A>::updateAgents(AC& a_agents, /*!< Agent contain
symptomatic_ptr[i] = SymptomStatus::symptomatic;
}
if (symptomatic_ptr[i] == SymptomStatus::symptomatic) {
if (symptomatic_withdraw_compliance && (Random(engine) < symptomatic_withdraw_compliance)) {
if (symptomatic_withdraw_compliance > 0.0_rt && (Random(engine) < symptomatic_withdraw_compliance)) {
withdrawn_ptr[i] = 1;
}
int marked_for_ICU_i = 0, marked_for_vent_i = 0;
Expand Down

0 comments on commit f120169

Please sign in to comment.