mirror of
https://github.com/Z3Prover/z3
synced 2025-08-25 04:26:00 +00:00
fix crash on delete clauses
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
a47f3df703
commit
78c03ed835
1 changed files with 1 additions and 1 deletions
|
@ -169,9 +169,9 @@ namespace sat {
|
||||||
}
|
}
|
||||||
|
|
||||||
void solver::del_clause(clause& c) {
|
void solver::del_clause(clause& c) {
|
||||||
|
if (!c.is_learned()) m_stats.m_non_learned_generation++;
|
||||||
m_cls_allocator.del_clause(&c);
|
m_cls_allocator.del_clause(&c);
|
||||||
m_stats.m_del_clause++;
|
m_stats.m_del_clause++;
|
||||||
if (!c.is_learned()) m_stats.m_non_learned_generation++;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
clause * solver::mk_clause_core(unsigned num_lits, literal * lits, bool learned) {
|
clause * solver::mk_clause_core(unsigned num_lits, literal * lits, bool learned) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue