3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-18 22:54:21 +00:00

prepare for integer intervals

This commit is contained in:
Nikolaj Bjorner 2024-01-23 15:33:48 -08:00
parent 98c9fa7faf
commit fad428381a
2 changed files with 6 additions and 5 deletions

View file

@ -593,7 +593,8 @@ namespace nlsat {
return result;
}
interval_set_ref infeasible_intervals(root_atom * a, bool neg, clause const* cls) {
interval_set_ref infeasible_intervals(root_atom * a, bool is_int, bool neg, clause const* cls) {
(void) is_int;
atom::kind k = a->get_kind();
unsigned i = a->i();
SASSERT(i > 0);
@ -664,8 +665,8 @@ namespace nlsat {
return result;
}
interval_set_ref infeasible_intervals(atom * a, bool neg, clause const* cls) {
return a->is_ineq_atom() ? infeasible_intervals(to_ineq_atom(a), neg, cls) : infeasible_intervals(to_root_atom(a), neg, cls);
interval_set_ref infeasible_intervals(atom * a, bool is_int, bool neg, clause const* cls) {
return a->is_ineq_atom() ? infeasible_intervals(to_ineq_atom(a), is_int, neg, cls) : infeasible_intervals(to_root_atom(a), is_int, neg, cls);
}
};