diff --git a/src/api/java/Context.java b/src/api/java/Context.java index da242630500..7aaef4801ec 100644 --- a/src/api/java/Context.java +++ b/src/api/java/Context.java @@ -2185,7 +2185,7 @@ public final ReExpr> mkToRe(Expr> s) /** * Check for regular expression membership. */ - public final BoolExpr mkInRe(Expr> s, Expr> re) + public final BoolExpr mkInRe(Expr> s, ReExpr> re) { checkContextMatch(s, re); return (BoolExpr) Expr.create(this, Native.mkSeqInRe(nCtx(), s.getNativeObject(), re.getNativeObject()));