mirror of
https://github.com/Z3Prover/z3
synced 2025-09-06 18:01:07 +00:00
Refactor count_vars and count_rule_vars
ast_manager m was not used
This commit is contained in:
parent
09afb31d4c
commit
c82319b358
10 changed files with 28 additions and 29 deletions
|
@ -682,11 +682,11 @@ namespace datalog {
|
|||
svector<bool> tail_neg;
|
||||
app_ref head(r->get_head(), m);
|
||||
|
||||
vctr.count_vars(m, head);
|
||||
vctr.count_vars(head);
|
||||
|
||||
for (unsigned i = 0; i < ut_len; i++) {
|
||||
app * t = r->get_tail(i);
|
||||
vctr.count_vars(m, t);
|
||||
vctr.count_vars(t);
|
||||
tail.push_back(t);
|
||||
tail_neg.push_back(r->is_neg_tail(i));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue