mirror of
https://github.com/Z3Prover/z3
synced 2025-08-10 21:20:52 +00:00
This commit is contained in:
parent
0182187296
commit
7c86134e85
1 changed files with 5 additions and 2 deletions
|
@ -631,8 +631,11 @@ namespace arith {
|
||||||
return false;
|
return false;
|
||||||
expr* e = n->get_expr();
|
expr* e = n->get_expr();
|
||||||
if (a.is_arith_expr(e) && to_app(e)->get_num_args() > 0) {
|
if (a.is_arith_expr(e) && to_app(e)->get_num_args() > 0) {
|
||||||
for (auto* arg : euf::enode_args(n))
|
for (auto* arg : *to_app(e)) {
|
||||||
dep.add(n, arg);
|
auto* earg = expr2enode(arg);
|
||||||
|
if (earg)
|
||||||
|
dep.add(n, earg);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
dep.insert(n, nullptr);
|
dep.insert(n, nullptr);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue