Fix use of APPLY kind in examples (#2984)
authorAndres Noetzli <andres.noetzli@gmail.com>
Tue, 30 Apr 2019 11:12:47 +0000 (04:12 -0700)
committerAndrew Reynolds <andrew.j.reynolds@gmail.com>
Tue, 30 Apr 2019 11:12:47 +0000 (06:12 -0500)
examples/sets-translate/sets_translate.cpp

index 204a13583e7c0271c2ebe74e7037d37d621d5828..f7513a401b3d542944b311f085414bdab89acbd1 100644 (file)
@@ -204,7 +204,7 @@ class Mapper {
     } else {
       vector<Expr> children = e.getChildren();
       children.insert(children.begin(), setoperators[ make_pair(t, e.getKind()) ]);
-      ret = em->mkExpr(kind::APPLY, children);
+      ret = em->mkExpr(kind::APPLY_UF, children);
     }
     // cout << "returning " << ret  << endl;
     return ret;