mirror of
https://github.com/Z3Prover/z3
synced 2026-07-03 22:06:11 +00:00
Merge branch 'master' into c3
This commit is contained in:
commit
e3b80fc578
104 changed files with 10253 additions and 4367 deletions
|
|
@ -1951,14 +1951,12 @@ namespace euf {
|
|||
|
||||
enode * get_next_f_app(func_decl * lbl, unsigned num_expected_args, enode * first, enode * curr) {
|
||||
curr = curr->get_next();
|
||||
enode *matching_cgr = nullptr, *min_gen_match = nullptr;
|
||||
while (curr != first) {
|
||||
get_f_app(lbl, num_expected_args, curr, matching_cgr, min_gen_match);
|
||||
if (curr->get_decl() == lbl && curr->num_args() == num_expected_args && curr->is_cgr())
|
||||
return curr;
|
||||
curr = curr->get_next();
|
||||
}
|
||||
if (matching_cgr)
|
||||
update_max_generation(min_gen_match, first);
|
||||
return matching_cgr;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue