forked from Maxluli/RustyPropagation
max threads to 48
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ impl Population {
|
|||||||
let mut stats: [i32; 4] = [0, 0, 0, 0];
|
let mut stats: [i32; 4] = [0, 0, 0, 0];
|
||||||
|
|
||||||
let num_threads = num_threads.unwrap_or(1);
|
let num_threads = num_threads.unwrap_or(1);
|
||||||
if num_threads > 8 {
|
if num_threads > 48 {
|
||||||
panic!("too many threads")
|
panic!("too many threads")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user