Skip to content

Commit

Permalink
Rebasing commit. Also adjusting some formatting.
Browse files Browse the repository at this point in the history
Merge branch 'vivax_competing_hazards_main_hypnozoites' of github.com:mrc-ide/malariasimulation into vivax_competing_hazards_main_hypnozoites

# Conflicts:
#	R/human_infection.R
#	R/processes.R
  • Loading branch information
RJSheppard committed Jul 30, 2024
2 parents ab5e6f0 + 05af388 commit 9c143ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/human_infection.R
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ calculate_lm_det_infections <- function(
min = parameters$philm_min, max = parameters$philm_max, a50 = parameters$alm50,
k = parameters$klm, iaa = iaa, iam = iam)

lm_det_infections <- bitset_at(infections, bernoulli_multi_p(philm))
bitset_at(infections, bernoulli_multi_p(philm))
}

#' @title Calculate clinical infections
Expand Down
2 changes: 1 addition & 1 deletion R/processes.R
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ create_processes <- function(
if(parameters$parasite == "falciparum"){
imm_var_names <- c(imm_var_names, 'ib', 'iva', 'ivm', 'id')
} else if (parameters$parasite == "vivax"){
imm_var_names <- c(imm_var_names, 'iaa', 'iam','hypnozoites')
imm_var_names <- c(imm_var_names, 'iaa', 'iam', 'hypnozoites')

## hypnozoite infection prevalence rendering
processes <- c(
Expand Down

0 comments on commit 9c143ac

Please sign in to comment.