mirror of
https://github.com/Z3Prover/z3
synced 2025-05-04 06:15:46 +00:00
fix regression in FPNumRef sign
This commit is contained in:
parent
b3db9a1cd5
commit
d980ee0533
2 changed files with 5 additions and 1 deletions
|
@ -1201,7 +1201,11 @@ bool cmd_context::try_mk_pdecl_app(symbol const & s, unsigned num_args, expr * c
|
|||
return true;
|
||||
if (m().is_uninterp(ps) && ps->get_name().is_numerical()) {
|
||||
int index = ps->get_name().get_num();
|
||||
if (index < 0)
|
||||
return false;
|
||||
binding.reserve(index + 1);
|
||||
if (binding.get(index) && binding.get(index) != s)
|
||||
return false;
|
||||
binding[index] = s;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue