Skip to content

Commit

Permalink
fix(argus): use the correct timestamp for wedge iter
Browse files Browse the repository at this point in the history
  • Loading branch information
anand-bala committed Oct 16, 2023
1 parent 59cbf0e commit add6415
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion argus/src/semantics/boolean.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ fn compute_timed_eventually<I: InterpolationMethod<bool>>(
ret_vals.push(
wedge
.front()
.map(|(&t, &v)| (t, v))
.map(|(_, &v)| (*i - width, v))
.unwrap_or_else(|| panic!("wedge should have at least 1 element")),
)
}
Expand Down
2 changes: 1 addition & 1 deletion argus/src/semantics/quantitative.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ fn compute_timed_eventually<I: InterpolationMethod<f64>>(
ret_vals.push(
wedge
.front()
.map(|(&t, &v)| (t, v))
.map(|(_, &v)| (*i - width, v))
.unwrap_or_else(|| panic!("wedge should have at least 1 element")),
)
}
Expand Down

0 comments on commit add6415

Please sign in to comment.