mirror of
https://github.com/Z3Prover/z3
synced 2025-04-25 18:15:32 +00:00
fix remaining incorrect uses of new BoolExpr related to #2125
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
77942a35dc
commit
d2a3b53d92
5 changed files with 6 additions and 6 deletions
|
@ -70,9 +70,9 @@ import com.microsoft.z3.enumerations.Z3_ast_kind;
|
|||
*
|
||||
* @throws Z3Exception
|
||||
**/
|
||||
public BoolExpr getBody()
|
||||
public Expr getBody()
|
||||
{
|
||||
return new BoolExpr(getContext(), Native.getQuantifierBody(getContext()
|
||||
return Expr.create(getContext(), Native.getQuantifierBody(getContext()
|
||||
.nCtx(), getNativeObject()));
|
||||
}
|
||||
|
||||
|
|
|
@ -141,7 +141,7 @@ public class Quantifier extends BoolExpr
|
|||
**/
|
||||
public BoolExpr getBody()
|
||||
{
|
||||
return new BoolExpr(getContext(), Native.getQuantifierBody(getContext()
|
||||
return (BoolExpr) Expr.create(getContext(), Native.getQuantifierBody(getContext()
|
||||
.nCtx(), getNativeObject()));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue