{
TypeNode tn = f.getType();
bool ret = false;
- if (tn.getNumChildren() == d_arg_types.size() + 1
- || (d_arg_types.empty() && tn.getNumChildren() == 0))
+ if (((tn.isFunction() && tn.getNumChildren() == d_arg_types.size() + 1)
+ || (d_arg_types.empty() && tn.getNumChildren() == 0)))
{
ret = true;
std::vector<Node> children;
regress1/sygus/issue3507.smt2
regress1/sygus/issue3580.sy
regress1/sygus/issue3634.smt2
+ regress1/sygus/issue3635.smt2
regress1/sygus/large-const-simp.sy
regress1/sygus/let-bug-simp.sy
regress1/sygus/list-head-x.sy
--- /dev/null
+; EXPECT: sat
+; COMMAND-LINE: --sygus-inference
+(set-logic ALL)
+(declare-fun a () (Array Int Int))
+(declare-fun b () (Array Int Int))
+(assert (= a b))
+(check-sat)