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 063a320 commit bf01830Copy full SHA for bf01830
src/core.rs
@@ -52,7 +52,7 @@ fn scale_frame(frame: &mut Vec<RangeInclusive<usize>>, factor: f64) {
52
}
53
54
fn scale(x: usize, factor: f64) -> usize {
55
- (x as f64 * factor).round() as usize
+ (x as f64 * factor) as usize
56
57
58
#[cfg_attr(rustfmt, rustfmt_skip)]
0 commit comments