mirror of
https://github.com/Z3Prover/z3
synced 2025-10-10 17:58:06 +00:00
fix compiler errors and memory issue with drat
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
4831c45ad8
commit
66089a7aef
4 changed files with 15 additions and 13 deletions
|
@ -206,10 +206,10 @@ namespace sat {
|
|||
if (!c.is_learned()) {
|
||||
m_stats.m_non_learned_generation++;
|
||||
}
|
||||
if (m_config.m_drat) {
|
||||
if (m_config.m_drat && !m_drat.is_cleaned(c)) {
|
||||
m_drat.del(c);
|
||||
}
|
||||
else if (!m_config.m_drat || !m_config.m_drat_check) {
|
||||
else if (!m_config.m_drat || !m_config.m_drat_check || m_drat.is_cleaned(c)) {
|
||||
m_cls_allocator.del_clause(&c);
|
||||
}
|
||||
m_stats.m_del_clause++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue