Skip to content

Commit

Permalink
fix cal error
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisJones687 committed Jan 29, 2024
1 parent 05f36f7 commit f059bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/calibrate.R
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ calibrate <- function(infected_years_file,
network_min_distance,
network_max_distance) {

config$random_seed <- sample(1:999999999999, 1, replace = FALSE)
config$random_seed <- as.integer(sample.int(1e9, 1, replace = FALSE))
set.seed(config$random_seed[[1]])
random_seeds <- create_random_seeds(1)
config <- host_pool_setup(config)
Expand Down

0 comments on commit f059bc1

Please sign in to comment.