mirror of
https://github.com/Z3Prover/z3
synced 2025-07-18 10:30:44 +00:00
avoid div/mod axioms on 0
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
7a12cebd41
commit
d6ad371934
2 changed files with 10 additions and 1 deletions
|
@ -93,7 +93,7 @@ namespace smt {
|
|||
if (false && !sk().is_tail(s)) {
|
||||
expr_ref is_empty(m.mk_eq(r, re().mk_empty(m.get_sort(s))), m);
|
||||
rewrite(is_empty);
|
||||
literal is_emptyl = mk_literal(is_empty);
|
||||
literal is_emptyl = th.mk_literal(is_empty);
|
||||
if (ctx.get_assignment(is_emptyl) != l_false) {
|
||||
th.propagate_lit(nullptr, 1, &lit, ~is_emptyl);
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue