fix typo
This commit is contained in:
parent
544989e4b2
commit
c536f1eebb
@ -61,7 +61,7 @@ fn integral_rectangles(
|
|||||||
.map(|e| {
|
.map(|e| {
|
||||||
let x: f32 = ((e as f32) * step) + min_x;
|
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,
|
true => x + step,
|
||||||
false => x - step,
|
false => x - step,
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user