3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 11:25:51 +00:00

simplify the fixed var table

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2020-06-14 10:29:00 -07:00
parent d09e6eccf0
commit d13e584706
3 changed files with 6 additions and 18 deletions

View file

@ -324,9 +324,8 @@ public:
if (is_offset_row(rid, x, y, k)) {
if (y == null_lpvar) {
// x is an implied fixed var at k.
value_sort_pair key(k, is_int(x));
unsigned x2;
if (lp().fixed_var_table().find(key, x2) && !is_equal(x, x2)) {
if (lp().fixed_var_table().find(k, x2) && !is_equal(x, x2)) {
SASSERT(lp().column_is_fixed(x2) && get_lower_bound_rational(x2) == k && is_int(x) == is_int(x2));
explanation ex;
constraint_index lc, uc;