Skip to content

Commit

Permalink
Oops, it should be the max, not the min!
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Jan 14, 2020
1 parent bfc7182 commit 3f51728
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core.c/Iterable.pm6
Expand Up @@ -30,7 +30,7 @@ my role Iterable {

method hyper(
Int(Cool) :$batch = 64,
Int(Cool) :$degree = min(nqp::cpucores() - 1,1)
Int(Cool) :$degree = max(nqp::cpucores() - 1,1)
) {
#?if !js
HyperSeq.new:
Expand All @@ -46,7 +46,7 @@ my role Iterable {

method race(
Int(Cool) :$batch = 64,
Int(Cool) :$degree = min(nqp::cpucores() - 1,1)
Int(Cool) :$degree = max(nqp::cpucores() - 1,1)
) {
#?if !js
RaceSeq.new:
Expand Down

0 comments on commit 3f51728

Please sign in to comment.