cleanup + proper loading bar

This commit is contained in:
Simon Gardling
2022-05-11 10:26:36 -04:00
parent 42596be571
commit e6bee04113
7 changed files with 78 additions and 57 deletions

View File

@@ -124,7 +124,7 @@ impl SteppedVector {
pub const fn get_max(&self) -> f64 { self.max }
#[allow(dead_code)]
pub fn get_data(&self) -> Vec<f64> { self.data.clone() }
pub fn get_data(&self) -> &Vec<f64> { &self.data }
}
// Convert `Vec<f64>` into [`SteppedVector`]