mirror of
https://github.com/Z3Prover/z3
synced 2025-10-09 09:21:56 +00:00
ensure relevancy isn't increased between calls
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
61371b4abf
commit
5dfe4a4b48
11 changed files with 110 additions and 70 deletions
|
@ -3684,7 +3684,6 @@ bool theory_seq::internalize_term(app* term) {
|
|||
return true;
|
||||
}
|
||||
for (auto arg : *term) {
|
||||
ensure_enodes(arg);
|
||||
mk_var(ensure_enode(arg));
|
||||
}
|
||||
if (m.is_bool(term)) {
|
||||
|
@ -5135,6 +5134,7 @@ void theory_seq::ensure_enodes(expr* e) {
|
|||
}
|
||||
}
|
||||
}
|
||||
// TBD: std::stable_sort(m_ensure_todo.begin(), m_ensure_todo.end(), compare_depth);
|
||||
for (unsigned i = m_ensure_todo.size(); i-- > 0; ) {
|
||||
ensure_enode(m_ensure_todo[i]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue