3
0
Fork 0
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:
Matthias Schlaipfer 2015-05-13 19:15:59 +01:00
parent 09afb31d4c
commit c82319b358
10 changed files with 28 additions and 29 deletions

View file

@ -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));