3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-12 02:04:43 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-03-29 17:34:24 -07:00
parent f74079de01
commit ba4765f16f
4 changed files with 20 additions and 11 deletions

View file

@ -3368,9 +3368,9 @@ namespace smt {
}
if (r == l_true && gparams::get_value("model_validate") == "true") {
recfun::util u(m);
model_ref mdl;
get_model(mdl);
if (u.get_rec_funs().empty()) {
model_ref mdl;
get_model(mdl);
if (mdl.get()) {
for (theory* t : m_theory_set) {
t->validate_model(*mdl);
@ -3384,7 +3384,7 @@ namespace smt {
if (lit.sign() ? m_model->is_true(v) : m_model->is_false(v)) {
IF_VERBOSE(10, verbose_stream()
<< "invalid assignment " << (lit.sign() ? "true" : "false")
<< " to #" << v->get_id() << " := " << mk_bounded_pp(v, m, 2) << "\n");
<< " to #" << v->get_id() << " := " << mk_bounded_pp(v, m, 3) << "\n");
}
}
for (clause* cls : m_aux_clauses) {