Skip to content

Commit

Permalink
chore(cp): fix compilation errors in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arbimo committed Nov 22, 2023
1 parent 174473f commit a4c3626
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions solver/src/reasoners/cp/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,8 @@ mod tests {
/* =============================== Helpers ============================== */

fn check_bounds(s: &LinearSumLeq, e: SumElem, d: &Domains, lb: IntCst, ub: IntCst) {
assert_eq!(s.get_lower_bound(e, d), lb);
assert_eq!(s.get_upper_bound(e, d), ub);
assert_eq!(s.get_lower_bound(e, d), lb.into());
assert_eq!(s.get_upper_bound(e, d), ub.into());
}

fn check_bounds_var(v: VarRef, d: &Domains, lb: IntCst, ub: IntCst) {
Expand Down

0 comments on commit a4c3626

Please sign in to comment.