This commit is contained in:
Simon Gardling 2022-02-14 10:00:48 -05:00
parent 544989e4b2
commit c536f1eebb

View File

@ -61,7 +61,7 @@ fn integral_rectangles(
.map(|e| {
let x: f32 = ((e as f32) * step) + min_x;
let x2: f32 = match x > 0.1 {
let x2: f32 = match x > 0.0 {
true => x + step,
false => x - step,
};