mirror of
https://github.com/Z3Prover/z3
synced 2025-06-02 20:31:21 +00:00
remove unused dependency
This commit is contained in:
parent
644bd82ac7
commit
39c3f34a30
2 changed files with 3 additions and 5 deletions
|
@ -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
|
// direct argument of a, i.e., a->get_arg(i) == v for some i
|
||||||
bit_vector bitset;
|
bit_vector bitset;
|
||||||
bitset.resize(q->get_num_decls(), false);
|
bitset.resize(q->get_num_decls(), false);
|
||||||
for (unsigned i = 0 ; i < a->get_num_args() ; i++) {
|
for (expr* arg : *a)
|
||||||
if (is_var(a->get_arg(i)))
|
if (is_var(arg))
|
||||||
bitset.set(to_var(a->get_arg(i))->get_idx(), true);
|
bitset.set(to_var(arg)->get_idx(), true);
|
||||||
}
|
|
||||||
|
|
||||||
for (unsigned i = 0; i < bitset.size() ; i++) {
|
for (unsigned i = 0; i < bitset.size() ; i++) {
|
||||||
if (!bitset.get(i))
|
if (!bitset.get(i))
|
||||||
|
|
|
@ -2,7 +2,6 @@ z3_add_component(solver_assertions
|
||||||
SOURCES
|
SOURCES
|
||||||
asserted_formulas.cpp
|
asserted_formulas.cpp
|
||||||
COMPONENT_DEPENDENCIES
|
COMPONENT_DEPENDENCIES
|
||||||
solver
|
|
||||||
smt2parser
|
smt2parser
|
||||||
smt_params
|
smt_params
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue