fix(argus): use the correct timestamp for wedge iter
This commit is contained in:
parent
59cbf0eb30
commit
add6415c9d
2 changed files with 2 additions and 2 deletions
|
|
@ -250,7 +250,7 @@ fn compute_timed_eventually<I: InterpolationMethod<bool>>(
|
||||||
ret_vals.push(
|
ret_vals.push(
|
||||||
wedge
|
wedge
|
||||||
.front()
|
.front()
|
||||||
.map(|(&t, &v)| (t, v))
|
.map(|(_, &v)| (*i - width, v))
|
||||||
.unwrap_or_else(|| panic!("wedge should have at least 1 element")),
|
.unwrap_or_else(|| panic!("wedge should have at least 1 element")),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -296,7 +296,7 @@ fn compute_timed_eventually<I: InterpolationMethod<f64>>(
|
||||||
ret_vals.push(
|
ret_vals.push(
|
||||||
wedge
|
wedge
|
||||||
.front()
|
.front()
|
||||||
.map(|(&t, &v)| (t, v))
|
.map(|(_, &v)| (*i - width, v))
|
||||||
.unwrap_or_else(|| panic!("wedge should have at least 1 element")),
|
.unwrap_or_else(|| panic!("wedge should have at least 1 element")),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue