mirror of
https://github.com/Z3Prover/z3
synced 2025-05-02 13:27:01 +00:00
have free variable utility use a class for more efficient re-use
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
73070585b8
commit
c09903288f
39 changed files with 300 additions and 303 deletions
|
@ -226,6 +226,7 @@ public:
|
|||
bool query_exn = false;
|
||||
lbool status = l_undef;
|
||||
{
|
||||
IF_VERBOSE(10, verbose_stream() << "(query)\n";);
|
||||
scoped_ctrl_c ctrlc(eh);
|
||||
scoped_timer timer(timeout, &eh);
|
||||
cmd_context::scoped_watch sw(ctx);
|
||||
|
|
|
@ -334,7 +334,7 @@ class horn_tactic : public tactic {
|
|||
datalog::rule_set::iterator it = rules.begin(), end = rules.end();
|
||||
for (; it != end; ++it) {
|
||||
datalog::rule* r = *it;
|
||||
r->to_formula(fml);
|
||||
m_ctx.get_rule_manager().to_formula(*r, fml);
|
||||
(*rep)(fml);
|
||||
g->assert_expr(fml);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue