mirror of
https://github.com/Z3Prover/z3
synced 2025-06-26 07:43:41 +00:00
fix warning
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
682e868129
commit
38d526ee45
1 changed files with 5 additions and 4 deletions
|
@ -592,7 +592,8 @@ void eliminate_predicates::try_find_macro(clause& cl) {
|
|||
}
|
||||
if (cl.is_unit()) {
|
||||
expr* body = cl.sign(0) ? m.mk_false() : m.mk_true();
|
||||
if (can_be_qdef(cl.atom(0), body)) {
|
||||
expr* x = cl.atom(0);
|
||||
if (can_be_qdef(x, body)) {
|
||||
insert_quasi_macro(to_app(x), body, cl);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue