mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 12:28:44 +00:00
fix #5061
This commit is contained in:
parent
8c66691e6d
commit
11efe33aa0
|
@ -2009,8 +2009,8 @@ br_status seq_rewriter::mk_seq_prefix(expr* a, expr* b, expr_ref& result) {
|
|||
}
|
||||
|
||||
expr* b2 = nullptr, *b3 = nullptr;
|
||||
if (str().is_replace(b, b1, b2, b3) && b2 == a1 && str().is_empty(b3)) {
|
||||
result = str().mk_prefix(str().mk_concat(a1, a1), b1);
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue