From b6d07d4d3ce11adcff4d14c0c17648d1f4db854f Mon Sep 17 00:00:00 2001 From: Rene Luria Date: Thu, 5 May 2022 20:41:20 +0200 Subject: [PATCH] max threads to 48 --- src/population.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/population.rs b/src/population.rs index fd20ec5..568db35 100644 --- a/src/population.rs +++ b/src/population.rs @@ -81,7 +81,7 @@ impl Population { let mut stats: [i32; 4] = [0, 0, 0, 0]; let num_threads = num_threads.unwrap_or(1); - if num_threads > 8 { + if num_threads > 48 { panic!("too many threads") }