Skip to content

Commit 6c6d16f

Browse files
committed
placate Clippy
1 parent ed4ebca commit 6c6d16f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/options.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,7 @@ impl Options {
1818
pub(crate) fn guess_options(input_size: usize) -> Options {
1919
let mut options = Options::default();
2020
let n: usize = input_size.ilog2() as usize;
21-
if n < 22 {
22-
options.multithreaded_bit_reversal = false;
23-
} else {
24-
options.multithreaded_bit_reversal = true;
25-
}
21+
options.multithreaded_bit_reversal = n >= 22;
2622
options
2723
}
2824
}

0 commit comments

Comments
 (0)