mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 17:45:32 +00:00
parent
1d77e3e19f
commit
dd07d21f6c
2 changed files with 7 additions and 2 deletions
|
@ -153,7 +153,7 @@ struct has_nlmul {
|
|||
case OP_IDIV: case OP_DIV: case OP_REM: case OP_MOD:
|
||||
if (!a.is_numeral(n->get_arg(1)))
|
||||
throw_found(n);
|
||||
break;
|
||||
break;
|
||||
case OP_POWER:
|
||||
throw_found(n);
|
||||
default:
|
||||
|
@ -500,6 +500,8 @@ struct is_non_nira_functor {
|
|||
case OP_POWER:
|
||||
if (m_linear)
|
||||
throw_found(n);
|
||||
if (!u.is_numeral(n->get_arg(0), r) || !r.is_unsigned() || r.is_zero())
|
||||
throw_found(n);
|
||||
return;
|
||||
case OP_IRRATIONAL_ALGEBRAIC_NUM:
|
||||
if (m_linear || !m_real)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue