mirror of
https://github.com/Z3Prover/z3
synced 2025-06-23 22:33:40 +00:00
a bug fix in internalize_atom, by NB
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
6071e08822
commit
34137cfa0a
1 changed files with 7 additions and 1 deletions
|
@ -1780,6 +1780,12 @@ public:
|
||||||
for (auto& kv : coeffs) kv.m_value.neg();
|
for (auto& kv : coeffs) kv.m_value.neg();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (auto const& kv : coeffs) {
|
||||||
|
theory_var w = kv.m_key;
|
||||||
|
expr* o = get_enode(w)->get_owner();
|
||||||
|
is_int &= a.is_int(o);
|
||||||
|
}
|
||||||
|
|
||||||
app_ref atom(m);
|
app_ref atom(m);
|
||||||
app_ref t = coeffs2app(coeffs, rational::zero(), is_int);
|
app_ref t = coeffs2app(coeffs, rational::zero(), is_int);
|
||||||
if (lower_bound) {
|
if (lower_bound) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue