mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 10:25:18 +00:00
parent
97683bd48a
commit
fae9481308
|
@ -1685,12 +1685,6 @@ br_status seq_rewriter::mk_seq_replace(expr* a, expr* b, expr* c, expr_ref& resu
|
|||
return BR_REWRITE_FULL;
|
||||
}
|
||||
|
||||
expr* a1 = nullptr, *b1 = nullptr, *c1 = nullptr;
|
||||
if (str().is_replace(a, a1, b1, c1) && c1 == b && c1 != c) {
|
||||
result = str().mk_replace(a1, b1, c);
|
||||
result = str().mk_replace(result, b, c);
|
||||
return BR_REWRITE2;
|
||||
}
|
||||
|
||||
return BR_FAILED;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue