3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-03-01 19:26:53 +00:00

fix #6676 get rid of rem0 declare it to be mod0 semantics to simplify code paths

This commit is contained in:
Nikolaj Bjorner 2023-04-11 16:46:30 -07:00
parent 58a2a9c79c
commit 0b5c38dea5
5 changed files with 7 additions and 14 deletions

View file

@ -469,7 +469,7 @@ class theory_lra::imp {
st.to_ensure_var().push_back(n1);
st.to_ensure_var().push_back(n2);
}
else if (a.is_idiv0(n, n1, n2) || a.is_mod0(n, n1, n2) || a.is_rem0(n, n1, n2)) {
else if (a.is_idiv0(n, n1, n2) || a.is_mod0(n, n1, n2)) {
st.to_ensure_var().push_back(n1);
st.to_ensure_var().push_back(n2);
}