3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 17:45:32 +00:00
This commit is contained in:
Nikolaj Bjorner 2021-06-16 16:01:14 -05:00
parent fbc3aa93a5
commit f95d0b7216
2 changed files with 20 additions and 13 deletions

View file

@ -496,6 +496,7 @@ struct is_non_nira_functor {
throw_found(n);
if (m_linear && u.is_numeral(n->get_arg(1), r) && r.is_zero())
throw_found(n);
if (m_linear && u.is_numeral(n->get_arg(1), r) && !r.is_zero())
if (!is_ground(n->get_arg(0)) || !is_ground(n->get_arg(1)))
throw_found(n);
return;