Skip to content

Commit

Permalink
Correct error.
Browse files Browse the repository at this point in the history
  • Loading branch information
0liver0815 committed Sep 15, 2023
1 parent 159efc9 commit 7a13770
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/Design-methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ get_result_list <- function(
} else {
# Process all simulations.
cores <- min(
safeInteger(parallel),
safeInteger(n_cores),
parallelly::availableCores()
)

Expand Down Expand Up @@ -144,7 +144,7 @@ get_result_list <- function(
# Stop the cluster.
parallel::stopCluster(cl)

return(res)
res
}
}

Expand Down

0 comments on commit 7a13770

Please sign in to comment.