3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-11 19:53:34 +00:00

check also for offset #3099

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-03-02 20:58:04 -08:00
parent 2edab50f53
commit 794c09425e

View file

@ -955,7 +955,7 @@ class theory_lra::imp {
}
else {
init_left_side(st);
if (m_left_side.empty()) {
if (m_left_side.empty() && st.offset().is_zero()) {
return get_zero(a.is_int(term));
}
theory_var v = mk_var(term);