3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-02 09:20:22 +00:00

fix gc of pb constraints

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2021-01-19 03:38:00 -08:00
parent 01418a06a3
commit 64ba2a9fc9
6 changed files with 35 additions and 1 deletions

View file

@ -470,6 +470,9 @@ namespace sat {
};
gc_clauses(m_learned);
gc_clauses(m_clauses);
if (m_ext)
m_ext->gc_vars(max_var);
unsigned j = 0;
for (literal lit : m_trail) {