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

Merge pull request #1693 from NikolajBjorner/master

fix #1675
This commit is contained in:
Nikolaj Bjorner 2018-06-20 17:36:24 -07:00 committed by GitHub
commit 8969a7035c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
46 changed files with 319 additions and 387 deletions

View file

@ -83,9 +83,8 @@ class nlsat_tactic : public tactic {
bool eval_model(model& model, goal& g) {
unsigned sz = g.size();
for (unsigned i = 0; i < sz; i++) {
expr_ref val(m);
if (model.eval(g.form(i), val) && !m.is_true(val)) {
TRACE("nlsat", tout << mk_pp(g.form(i), m) << " -> " << val << "\n";);
if (!model.is_true(g.form(i))) {
TRACE("nlsat", tout << mk_pp(g.form(i), m) << " -> " << model(g.form(i)) << "\n";);
return false;
}
}