3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-28 19:01:29 +00:00

Make things compile

This commit is contained in:
Ruijie Fang 2025-09-29 21:52:54 -05:00
parent c791694af8
commit d86c049df2
3 changed files with 3 additions and 3 deletions

View file

@ -209,7 +209,7 @@ public class AST extends Z3Object implements Comparable<AST>
return new FuncDecl<>(ctx, obj);
case Z3_QUANTIFIER_AST:
// a quantifier AST is a lambda iff it is neither a forall nor an exists.
boolean isLambda = !Native.isQuantifierExists(ctx, obj) && !Native.isQuantifierForall(ctx, obj);
boolean isLambda = !Native.isQuantifierExists(ctx.nCtx(), obj) && !Native.isQuantifierForall(ctx.nCtx(), obj);
if (isLambda) {
return new Lambda(ctx, obj);
} else {

View file

@ -2150,7 +2150,7 @@ public class Expr<R extends Sort> extends AST
Z3_ast_kind k = Z3_ast_kind.fromInt(Native.getAstKind(ctx.nCtx(), obj));
if (k == Z3_ast_kind.Z3_QUANTIFIER_AST) {
// a quantifier AST is a lambda iff it is neither a forall nor an exists.
boolean isLambda = !Native.isQuantifierExists(ctx, obj) && !Native.isQuantifierForall(ctx, obj);
boolean isLambda = !Native.isQuantifierExists(ctx.nCtx(), obj) && !Native.isQuantifierForall(ctx.nCtx(), obj);
if (isLambda) {
return new Lambda(ctx, obj);
} else {

View file

@ -126,7 +126,7 @@ public class Lambda<R extends Sort> extends ArrayExpr<Sort, R>
}
private Lambda(Context ctx, long obj)
Lambda(Context ctx, long obj)
{
super(ctx, obj);
}