mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
integrating NB suggestions
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
7642f74142
commit
ac0b8ba455
2 changed files with 6 additions and 5 deletions
|
@ -196,7 +196,8 @@ bool nex_creator::gt_on_var_nex(const nex_var* a, const nex* b) const {
|
|||
case expr_type::MUL:
|
||||
return b->get_degree() <= 1 && gt_on_var_nex(a, (*to_mul(b))[0].e());
|
||||
case expr_type::SUM:
|
||||
return !gt((*to_sum(b))[0], a);
|
||||
SASSERT(b->size() > 1);
|
||||
return gt(a, (*to_sum(b))[0]);
|
||||
default:
|
||||
UNREACHABLE();
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue