mirror of
https://github.com/Z3Prover/z3
synced 2025-05-02 21:37:02 +00:00
fix regressions in nl/smt
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
5632900f35
commit
e8811748d3
7 changed files with 49 additions and 35 deletions
|
@ -549,9 +549,10 @@ struct is_non_qfufnra_functor {
|
|||
case OP_IRRATIONAL_ALGEBRAIC_NUM:
|
||||
return;
|
||||
case OP_MUL:
|
||||
if (n->get_num_args() == 2 ||
|
||||
(!u.is_numeral(n->get_arg(0)) &&
|
||||
!u.is_numeral(n->get_arg(1)))) {
|
||||
if (n->get_num_args() == 2 &&
|
||||
u.is_real(n->get_arg(0)) &&
|
||||
!u.is_numeral(n->get_arg(0)) &&
|
||||
!u.is_numeral(n->get_arg(1))) {
|
||||
m_has_nonlinear = true;
|
||||
}
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue