3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 18:31:49 +00:00

reset max unfolding literal on backtrack

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-11-29 21:04:43 -08:00
parent e72df22e49
commit 3db73e442c

View file

@ -5550,6 +5550,7 @@ void theory_seq::add_theory_assumptions(expr_ref_vector & assumptions) {
if (m_util.has_re()) {
expr_ref dlimit(m);
dlimit = mk_max_unfolding_depth();
m_trail_stack.push(value_trail<theory_seq, literal>(m_max_unfolding_lit));
m_max_unfolding_lit = mk_literal(dlimit);
assumptions.push_back(dlimit);
}