Skip to content

Commit

Permalink
Changed the calculation of birth_ivm in sample_maternal_immunity(). T…
Browse files Browse the repository at this point in the history
…he function now calculates the maternally-acquired immunity to severe disease (birth_ivm) using the acquired immunity to severe disease (iva) rather than the acquired immunity to clinical disease (ica)
  • Loading branch information
tbreweric committed Jan 15, 2024
1 parent dc922d7 commit f1039ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/mortality_processes.R
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ sample_maternal_immunity <- function(variables, target, timestep, parameters) {

# set their maternal immunities
birth_icm <- variables$ica$get_values(mothers) * parameters$pcm
birth_ivm <- variables$ica$get_values(mothers) * parameters$pvm
birth_ivm <- variables$iva$get_values(mothers) * parameters$pvm
variables$icm$queue_update(birth_icm, target_group)
variables$ivm$queue_update(birth_ivm, target_group)
}
Expand Down

0 comments on commit f1039ea

Please sign in to comment.