mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
fix #5111
This commit is contained in:
parent
064b1f0721
commit
c05c5caab5
1 changed files with 2 additions and 1 deletions
|
@ -1503,7 +1503,7 @@ bool theory_seq::add_length_to_eqc(expr* e) {
|
|||
expr* o = n->get_expr();
|
||||
if (!has_length(o)) {
|
||||
expr_ref len(m_util.str.mk_length(o), m);
|
||||
enque_axiom(len);
|
||||
ensure_enode(len);
|
||||
add_length(o, len);
|
||||
change = true;
|
||||
}
|
||||
|
@ -3028,6 +3028,7 @@ void theory_seq::relevant_eh(app* n) {
|
|||
m_util.str.is_from_code(n) ||
|
||||
m_util.str.is_to_code(n) ||
|
||||
m_util.str.is_unit(n) ||
|
||||
m_util.str.is_length(n) ||
|
||||
m_util.str.is_le(n)) {
|
||||
enque_axiom(n);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue