diff --git a/src/func_plot.rs b/src/func_plot.rs index 62f17e6..66e8c17 100644 --- a/src/func_plot.rs +++ b/src/func_plot.rs @@ -74,7 +74,6 @@ fn integral_rectangles( false => tmp2, }; - // Add current rectangle's area to the total if !y.is_nan() { (x, x2, y) } else {