mirror of
https://github.com/Z3Prover/z3
synced 2025-06-29 09:28:45 +00:00
follow on fix from #5528
the same bug is also undetected in the main solver
This commit is contained in:
parent
6907d30717
commit
968717a532
1 changed files with 2 additions and 2 deletions
|
@ -807,10 +807,10 @@ class theory_lra::imp {
|
||||||
return st.vars()[0];
|
return st.vars()[0];
|
||||||
}
|
}
|
||||||
else if (is_one(st) && a.is_numeral(term)) {
|
else if (is_one(st) && a.is_numeral(term)) {
|
||||||
return get_one(a.is_int(term));
|
return lp().local_to_external(get_one(a.is_int(term)));
|
||||||
}
|
}
|
||||||
else if (is_zero(st) && a.is_numeral(term)) {
|
else if (is_zero(st) && a.is_numeral(term)) {
|
||||||
return get_zero(a.is_int(term));
|
return lp().local_to_external(get_zero(a.is_int(term)));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
init_left_side(st);
|
init_left_side(st);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue