From 1b4e7a1c97c2266f151257f38c649c4a64553f99 Mon Sep 17 00:00:00 2001 From: tjjfvi Date: Wed, 10 Apr 2024 17:02:36 -0400 Subject: [PATCH] fix clippy warning (only appears in CI??) --- src/run/parallel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/run/parallel.rs b/src/run/parallel.rs index 15a5f7a6..5c7babb8 100644 --- a/src/run/parallel.rs +++ b/src/run/parallel.rs @@ -54,7 +54,7 @@ impl<'h, M: Mode> Net<'h, M> { } // Initialize global objects - let cores = thread::available_parallelism().unwrap().get() as usize; + let cores = thread::available_parallelism().unwrap().get(); let tlog2 = cores.ilog2() as usize; let tids = 1 << tlog2; let delta = AtomicRewrites::default(); // delta rewrite counter