Skip to content

Commit

Permalink
remove handling for generic input
Browse files Browse the repository at this point in the history
  • Loading branch information
kevaundray committed Sep 5, 2024
1 parent e1a8014 commit d88bf10
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cryptography/kzg_multi_open/src/fk20/cosets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -483,11 +483,7 @@ mod tests {
fn naive_bit_reverse(n: u32, l: u32) -> u32 {
assert!(l.is_power_of_two());
let num_bits = l.trailing_zeros();
if num_bits == 32 {
n.reverse_bits()
} else {
n.reverse_bits() >> (32 - num_bits)
}
n.reverse_bits() >> (32 - num_bits)
}

for i in 0..10 {
Expand Down

0 comments on commit d88bf10

Please sign in to comment.