This commit is contained in:
Simon Gardling 2022-03-16 23:18:12 -04:00
parent 5d5b959f0d
commit 0a046438b2

View File

@ -120,6 +120,7 @@ impl FunctionEntry {
// TODO: refactor this // TODO: refactor this
/// Returns back values, integral data (Bars and total area), and Derivative /// Returns back values, integral data (Bars and total area), and Derivative
/// values /// values
#[allow(clippy::type_complexity)]
pub fn run_back(&mut self) -> (Vec<Value>, Option<(Vec<Bar>, f64)>, Option<Vec<Value>>) { pub fn run_back(&mut self) -> (Vec<Value>, Option<(Vec<Bar>, f64)>, Option<Vec<Value>>) {
let resolution: f64 = (self.pixel_width as f64 / (self.max_x - self.min_x).abs()) as f64; let resolution: f64 = (self.pixel_width as f64 / (self.max_x - self.min_x).abs()) as f64;
let back_values: Vec<Value> = { let back_values: Vec<Value> = {