mirror of
https://github.com/Z3Prover/z3
synced 2025-08-08 12:11:23 +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
|
@ -86,7 +86,7 @@ int counter::get_max_counter_value() const {
|
|||
return res;
|
||||
}
|
||||
|
||||
void var_counter::count_vars(ast_manager & m, const app * pred, int coef) {
|
||||
void var_counter::count_vars(const app * pred, int coef) {
|
||||
unsigned n = pred->get_num_args();
|
||||
for (unsigned i = 0; i < n; i++) {
|
||||
m_fv(pred->get_arg(i));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue