3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 17:15:31 +00:00

fix local search encoding bug

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-02-08 07:27:32 -08:00
parent 615e1e0845
commit 5e482def18
8 changed files with 78 additions and 63 deletions

View file

@ -721,8 +721,8 @@ namespace opt {
}
goal_ref g(alloc(goal, m, true, false));
for (unsigned i = 0; i < fmls.size(); ++i) {
g->assert_expr(fmls[i].get());
for (expr* fml : fmls) {
g->assert_expr(fml);
}
tactic_ref tac0 =
and_then(mk_simplify_tactic(m, m_params),