Skip to content

Commit

Permalink
Update accept-reject function
Browse files Browse the repository at this point in the history
  • Loading branch information
prdm0 committed Apr 23, 2024
1 parent 24dc827 commit c2f6f3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/accept_reject.r
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ accept_reject <-
mc.cores = n_cores
)))
} else if (parallel && .Platform$OS.type == "windows") {
n_cores <- parallel::detectCores()
cl <- parallel::makeCluster(n_cores)
capture.output(
r <- unlist(parallel::parLapply(
Expand Down

0 comments on commit c2f6f3c

Please sign in to comment.