mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 17:45:32 +00:00
Fixing soft timeout for check-sat-using.
This commit is contained in:
parent
fbd02f6d5f
commit
5706df30c6
2 changed files with 3 additions and 2 deletions
|
@ -121,6 +121,7 @@ tactic * mk_lackr_tactic(ast_manager & m, params_ref const & p) {
|
|||
mk_max_bv_sharing_tactic(m),
|
||||
//mk_macro_finder_tactic(m, p),
|
||||
using_params(mk_simplify_tactic(m), simp2_p)
|
||||
//, mk_simplify_tactic(m)
|
||||
//mk_nnf_tactic(m_m, m_p)
|
||||
);
|
||||
|
||||
|
|
|
@ -187,8 +187,8 @@ public:
|
|||
tactic_ref tref = using_params(sexpr2tactic(ctx, m_tactic), p);
|
||||
tref->set_logic(ctx.get_logic());
|
||||
ast_manager & m = ctx.m();
|
||||
unsigned timeout = p.get_uint("timeout", UINT_MAX);
|
||||
unsigned rlimit = p.get_uint("rlimit", 0);
|
||||
unsigned timeout = p.get_uint("timeout", ctx.params().m_timeout);
|
||||
unsigned rlimit = p.get_uint("rlimit", ctx.params().m_rlimit);
|
||||
goal_ref g = alloc(goal, m, ctx.produce_proofs(), ctx.produce_models(), ctx.produce_unsat_cores());
|
||||
assert_exprs_from(ctx, *g);
|
||||
TRACE("check_sat_using", g->display(tout););
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue