fix(library/equations_compiler/pack_domain): nested recursive calls
This commit is contained in:
parent
bebdba1004
commit
a1cfe0367b
1 changed files with 2 additions and 0 deletions
|
|
@ -89,6 +89,8 @@ struct sigma_packer_fn {
|
|||
virtual expr visit_app(expr const & e) override {
|
||||
buffer<expr> args;
|
||||
expr const & fn = get_app_args(e, args);
|
||||
for (expr & arg : args)
|
||||
arg = visit(arg);
|
||||
auto fnidx = get_fn_idx(fn);
|
||||
if (!fnidx) return replace_visitor_with_tc::visit_app(e);
|
||||
expr new_fn = m_ues.get_fn(*fnidx);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue