mirror of
https://github.com/Z3Prover/z3
synced 2025-07-23 12:48:53 +00:00
fix #5071
This commit is contained in:
parent
79ababb00a
commit
cf3002c293
1 changed files with 1 additions and 1 deletions
|
@ -1869,7 +1869,7 @@ br_status seq_rewriter::mk_seq_replace_all(expr* a, expr* b, expr* c, expr_ref&
|
||||||
if (s1.length() >= s2.length() + i &&
|
if (s1.length() >= s2.length() + i &&
|
||||||
s2 == s1.extract(i, s2.length())) {
|
s2 == s1.extract(i, s2.length())) {
|
||||||
strs.push_back(c);
|
strs.push_back(c);
|
||||||
i += s2.length();
|
i += s2.length() - 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
strs.push_back(str().mk_unit(str().mk_char(s1, i)));
|
strs.push_back(str().mk_unit(str().mk_char(s1, i)));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue