mirror of
https://github.com/Z3Prover/z3
synced 2025-06-23 14:23:40 +00:00
add discriminator to whether context contains recursive functions to avoid enabling recursive function solver when there are just macros
This commit is contained in:
parent
a4c2a2b22c
commit
8ff1e44a95
2 changed files with 5 additions and 0 deletions
|
@ -473,6 +473,7 @@ namespace recfun {
|
|||
}
|
||||
|
||||
void plugin::set_definition(replace& r, promise_def & d, bool is_macro, unsigned n_vars, var * const * vars, expr * rhs) {
|
||||
m_has_rec_defs |= !is_macro;
|
||||
u().set_definition(r, d, is_macro, n_vars, vars, rhs);
|
||||
for (case_def & c : d.get_def()->get_cases())
|
||||
m_case_defs.insert(c.get_decl(), &c);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue