mirror of
https://github.com/Z3Prover/z3
synced 2025-12-20 19:23:44 +00:00
swap order in equality for emptiness check to deal with rewriter
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
ec36a9c495
commit
7bc3b4e381
2 changed files with 3 additions and 3 deletions
|
|
@ -988,7 +988,7 @@ void seq_util::str::get_concat_units(expr* e, expr_ref_vector& es) const {
|
|||
}
|
||||
|
||||
app* seq_util::str::mk_is_empty(expr* s) const {
|
||||
return m.mk_eq(mk_empty(get_sort(s)), s);
|
||||
return m.mk_eq(s, mk_empty(get_sort(s)));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue