mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
Issue #407 build break
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
8b66411c05
commit
0e6aaf0211
3 changed files with 10 additions and 14 deletions
|
@ -1064,13 +1064,13 @@ bool seq_rewriter::reduce_eq(expr_ref_vector& ls, expr_ref_vector& rs, expr_ref_
|
|||
if (lchange) {
|
||||
if (head1 > 0) {
|
||||
for (unsigned i = 0; i < szl; ++i) {
|
||||
ls[i] = ls[i + head1];
|
||||
ls[i] = ls[i + head1].get();
|
||||
}
|
||||
}
|
||||
ls.shrink(szl);
|
||||
if (head2 > 0) {
|
||||
for (unsigned i = 0; i < szr; ++i) {
|
||||
rs[i] = rs[i + head2];
|
||||
rs[i] = rs[i + head2].get();
|
||||
}
|
||||
}
|
||||
rs.shrink(szr);
|
||||
|
|
|
@ -666,5 +666,7 @@ void seq_util::str::get_concat(expr* e, expr_ref_vector& es) const {
|
|||
get_concat(e1, es);
|
||||
e = e2;
|
||||
}
|
||||
es.push_back(e);
|
||||
if (!is_empty(e)) {
|
||||
es.push_back(e);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue