Skip to content

Commit

Permalink
fix implicit cast
Browse files Browse the repository at this point in the history
  • Loading branch information
atmyers committed Jan 28, 2025
1 parent d51cc34 commit 2c94447
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 @@ -177,7 +177,7 @@ void DiseaseStatus<AC,ACT,ACTD,A>::updateAgents(AC& a_agents, /*!< Agent contain
engine); }
if (timer_ptr[i] > 0) { marked_for_hosp_ptr[i] = 1; }
}
} else if ((Math::floor(hospital_delay_ptr[i] > 0) && (counter_ptr[i] == Math::floor(incubation_period_ptr[i]) + Math::floor(hospital_delay_ptr[i])))) {
} else if ((Math::floor(hospital_delay_ptr[i] > 0) && (Math::floor(counter_ptr[i]) == Math::floor(incubation_period_ptr[i]) + Math::floor(hospital_delay_ptr[i])))) {
if (symptomatic_ptr[i] == SymptomStatus::symptomatic) {
disease_parm_d->check_hospitalization(&(timer_ptr[i]),
&(marked_for_ICU_ptr[i]),
Expand Down

0 comments on commit 2c94447

Please sign in to comment.