3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00

remove unused dependency

This commit is contained in:
Nikolaj Bjorner 2021-07-21 09:25:08 -07:00
parent 644bd82ac7
commit 39c3f34a30
2 changed files with 3 additions and 5 deletions

View file

@ -110,10 +110,9 @@ bool quasi_macros::fully_depends_on(app * a, quantifier * q) const {
// direct argument of a, i.e., a->get_arg(i) == v for some i
bit_vector bitset;
bitset.resize(q->get_num_decls(), false);
for (unsigned i = 0 ; i < a->get_num_args() ; i++) {
if (is_var(a->get_arg(i)))
bitset.set(to_var(a->get_arg(i))->get_idx(), true);
}
for (expr* arg : *a)
if (is_var(arg))
bitset.set(to_var(arg)->get_idx(), true);
for (unsigned i = 0; i < bitset.size() ; i++) {
if (!bitset.get(i))

View file

@ -2,7 +2,6 @@ z3_add_component(solver_assertions
SOURCES
asserted_formulas.cpp
COMPONENT_DEPENDENCIES
solver
smt2parser
smt_params
)