refactor SteppedVector

refactored and optimized SteppedVector
This commit is contained in:
Simon Gardling
2022-05-12 11:46:40 -04:00
parent 020064a79e
commit 1c8198103e
6 changed files with 29 additions and 27 deletions

View File

@@ -307,6 +307,7 @@ impl FunctionEntry {
.iter()
.map(|ele| ele.x)
.collect::<Vec<f64>>()
.as_slice()
.into();
let back_data: Vec<Value> = dyn_iter(&resolution_iter)