We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4db743 commit d8fc414Copy full SHA for d8fc414
inst/include/RcppParallel.h
@@ -34,7 +34,7 @@ inline void parallelFor(std::size_t begin,
34
std::size_t grainSize = 1,
35
int numThreads = -1)
36
{
37
- grainSize = resolveValue("RCPP_PARALLEL_GRAIN_SIZE", grainSize, 1);
+ grainSize = resolveValue("RCPP_PARALLEL_GRAIN_SIZE", grainSize, 1u);
38
numThreads = resolveValue("RCPP_PARALLEL_NUM_THREADS", numThreads, -1);
39
40
#if RCPP_PARALLEL_USE_TBB
0 commit comments