Skip to content

Commit

Permalink
Fix indexing issue
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Funk <[email protected]>
  • Loading branch information
jamesmbaazam and sbfnk committed Jan 30, 2024
1 parent 99077bc commit 13ecc86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/simulate.r
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ simulate_chains <- function(index_cases,
next_gen <- do.call(
roffspring_name,
c(
list(n = sum(n_offspring)),
list(n = sum(n_offspring[sim])),
pars
)
)
Expand Down

0 comments on commit 13ecc86

Please sign in to comment.