Skip to content

Commit

Permalink
Fixing surveillance error
Browse files Browse the repository at this point in the history
  • Loading branch information
gvegayon committed Jun 6, 2024
1 parent 161fe2f commit 70d3d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/epiworld/models/surveillance.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ inline ModelSURV<TSeq>::ModelSURV(
model.add_param(prob_noreinfect, "Prob. no reinfect");

// Virus ------------------------------------------------------------------
epiworld::Virus<TSeq> covid("Covid19", prevalence, true);
epiworld::Virus<TSeq> covid("Covid19", prevalence, false);
covid.set_state(LATENT, RECOVERED, REMOVED);
covid.set_post_immunity(&model("Prob. no reinfect"));
covid.set_prob_death(&model("Prob. death"));
Expand Down

0 comments on commit 70d3d91

Please sign in to comment.