We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9060923 commit f7390b9Copy full SHA for f7390b9
src/lossless_transform.rs
@@ -557,7 +557,7 @@ mod benches {
557
let height = 256;
558
let size_bits = 3;
559
let mut data = vec![0u8; width * height * 4];
560
- let mut transform_data = vec![0u8; width * height * 4 >> (size_bits * 2)];
+ let mut transform_data = vec![0u8; (width * height * 4) >> (size_bits * 2)];
561
rand::thread_rng().fill(&mut data[..]);
562
rand::thread_rng().fill(&mut transform_data[..]);
563
b.bytes = 4 * width as u64 * height as u64;
0 commit comments