Skip to content

Commit

Permalink
Reverted change to seq_len
Browse files Browse the repository at this point in the history
  • Loading branch information
mvankessel-EMC committed Sep 1, 2023
1 parent 6772089 commit a7779c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/RunAnalyses.R
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ runCmAnalyses <- function(connectionDetails,
)
return(task)
}
tasks <- lapply(seq_len(nrow(subset)), createSharedBalanceTask)
tasks <- lapply(1:nrow(subset), createSharedBalanceTask)
cluster <- ParallelLogger::makeCluster(min(length(tasks), multiThreadingSettings$computeSharedBalanceThreads))
ParallelLogger::clusterRequire(cluster, "CohortMethod")
dummy <- ParallelLogger::clusterApply(cluster, tasks, doComputeSharedBalance)
Expand Down

0 comments on commit a7779c3

Please sign in to comment.