mirror of
https://github.com/Z3Prover/z3
synced 2025-07-18 02:16:40 +00:00
parent
c2e0491456
commit
735888145e
6 changed files with 23 additions and 20 deletions
|
@ -93,7 +93,9 @@ void shared_occs::operator()(expr * t, shared_occs_mark & visited) {
|
|||
expr * curr = fr.first;
|
||||
switch (curr->get_kind()) {
|
||||
case AST_APP: {
|
||||
|
||||
unsigned num_args = to_app(curr)->get_num_args();
|
||||
|
||||
while (fr.second < num_args) {
|
||||
expr * arg = to_app(curr)->get_arg(fr.second);
|
||||
fr.second++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue