mirror of
https://github.com/Z3Prover/z3
synced 2025-04-10 19:27:06 +00:00
fix #5117
This commit is contained in:
parent
c71bbb6391
commit
1fcd537d81
|
@ -2017,11 +2017,6 @@ br_status seq_rewriter::mk_seq_prefix(expr* a, expr* b, expr_ref& result) {
|
|||
return BR_DONE;
|
||||
}
|
||||
|
||||
expr* b2 = nullptr, *b3 = nullptr;
|
||||
if (str().is_replace(b, b1, b2, b3) && b2 == a && str().is_empty(b3)) {
|
||||
result = str().mk_prefix(str().mk_concat(a, a), b1);
|
||||
return BR_REWRITE2;
|
||||
}
|
||||
|
||||
unsigned len_a;
|
||||
rational len_b;
|
||||
|
|
Loading…
Reference in a new issue