Skip to content

Commit

Permalink
Reflect changes in futureverse
Browse files Browse the repository at this point in the history
The futureverse has moved away from "multiprocess" as a type of plan, so parallelization now happens through "multisession."
  • Loading branch information
japilo committed Mar 21, 2024
1 parent 78775ab commit d753cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/SimulationHandler.R
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ SimulationHandler <- R6Class("SimulationHandler",
if (self$parallel_cores == 1) {
plan(sequential)
} else {
plan(multiprocess, workers = self$parallel_cores)
plan(multisession, workers = self$parallel_cores)
}

simulation_log <- future_map(1:nrow(self$sample_data), \(j) {
Expand Down

0 comments on commit d753cdd

Please sign in to comment.