mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
pop to base before incremental internalization to ensure that units are not lost
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
3113901c8f
commit
7b3b1b6e9f
2 changed files with 13 additions and 11 deletions
|
@ -259,7 +259,7 @@ public:
|
|||
return m_num_scopes;
|
||||
}
|
||||
|
||||
void assert_expr_core2(expr * t, expr * a) override {
|
||||
void assert_expr_core2(expr * t, expr * a) override {
|
||||
if (a) {
|
||||
m_asmsf.push_back(a);
|
||||
assert_expr_core(m.mk_implies(a, t));
|
||||
|
@ -473,6 +473,7 @@ public:
|
|||
}
|
||||
|
||||
void convert_internalized() {
|
||||
m_solver.pop_to_base_level();
|
||||
if (!is_internalized() && m_fmls_head > 0) {
|
||||
internalize_formulas();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue