3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 19:35:50 +00:00

some simplifications in cheap eqs

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2020-06-08 21:16:23 -07:00
parent 4de38d09e2
commit dd30b5e3af
5 changed files with 40 additions and 22 deletions

View file

@ -330,11 +330,19 @@ private:
}
void analyze_eq() {
if (m_bp.lp().settings().cheap_eqs()) {
switch (m_bp.lp().settings().cheap_eqs()) {
case 0:
return;
case 1:
m_bp.try_create_eq(m_row_index);
break;
case 2:
m_bp.try_create_eq_table(m_row_index);
break;
default:
UNREACHABLE();
}
}
};
}