3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 02:15:19 +00:00
This commit is contained in:
Nikolaj Bjorner 2021-06-03 18:36:44 -07:00
parent 0182187296
commit 7c86134e85

View file

@ -631,8 +631,11 @@ namespace arith {
return false;
expr* e = n->get_expr();
if (a.is_arith_expr(e) && to_app(e)->get_num_args() > 0) {
for (auto* arg : euf::enode_args(n))
dep.add(n, arg);
for (auto* arg : *to_app(e)) {
auto* earg = expr2enode(arg);
if (earg)
dep.add(n, earg);
}
}
else {
dep.insert(n, nullptr);