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:
parent
2edab50f53
commit
794c09425e
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue