3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-11 03:33:35 +00:00

testing cheap equalities

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2020-06-10 16:15:04 -07:00
parent 6c115bf896
commit 67eaff4490
2 changed files with 5 additions and 5 deletions

View file

@ -216,7 +216,7 @@ public:
else
return false;
}
if (x_index == UINT_MAX && y_index == UINT_MAX)
if (x_index == UINT_MAX || y_index == UINT_MAX)
return false;
if (lp().column_is_int(row[x_index].var()) != lp().column_is_int(row[y_index].var()))
return false;

View file

@ -755,10 +755,10 @@ namespace smt {
}
void setup::setup_lra_arith() {
// if (m_params.m_arith_mode == AS_OLD_ARITH)
// m_context.register_plugin(alloc(smt::theory_mi_arith, m_context));
// else
m_context.register_plugin(alloc(smt::theory_lra, m_context));
if (m_params.m_arith_mode == AS_OLD_ARITH)
m_context.register_plugin(alloc(smt::theory_mi_arith, m_context));
else
m_context.register_plugin(alloc(smt::theory_lra, m_context));
}
void setup::setup_mi_arith() {