3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00

address compilation warnings of unused parameters, add shorthands to set parameters on Optimize

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-04-16 14:32:48 -07:00
parent 153106a6a7
commit d4410d0872
4 changed files with 43 additions and 5 deletions

View file

@ -2508,13 +2508,12 @@ namespace sat {
TRACE("sat_lemma", tout << "new lemma size: " << m_lemma.size() << "\n" << m_lemma << "\n";);
unsigned new_scope_lvl = 0;
bool sub_min = false, res_min = false;
if (!m_lemma.empty()) {
if (m_config.m_minimize_lemmas) {
res_min = minimize_lemma();
minimize_lemma();
reset_lemma_var_marks();
if (m_config.m_dyn_sub_res)
sub_min = dyn_sub_res();
dyn_sub_res();
TRACE("sat_lemma", tout << "new lemma (after minimization) size: " << m_lemma.size() << "\n" << m_lemma << "\n";);
}
else