Skip to content

Commit

Permalink
feat: Parallelize Bayesian calibration of sofun
Browse files Browse the repository at this point in the history
  • Loading branch information
fabern committed Sep 24, 2024
1 parent 65d232c commit 8b55702
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/calib_sofun.R
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,9 @@ calib_sofun <- function(
drivers = drivers
))},
prior = priors,
names = rownames(pars)
names = rownames(pars),
parallel = TRUE,
parallelOptions = list(variables = "all", packages = "all", dlls = NULL), # TODO: this default option might be tweaked
)

# set bt control parameters
Expand Down

0 comments on commit 8b55702

Please sign in to comment.