Skip to content

Commit

Permalink
Update array_sum.r
Browse files Browse the repository at this point in the history
from phone
  • Loading branch information
MattBixley authored Sep 20, 2023
1 parent 039c708 commit dbe1543
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _includes/example_scripts/array_sum.r
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ library(doParallel)

num_cpus <- 2 # Use this value to request num cpus.
size_array <- 20000
set.seed(num_cpus)

registerDoParallel(num_cpus)

Expand Down

0 comments on commit dbe1543

Please sign in to comment.