mirror of
https://github.com/Z3Prover/z3
synced 2025-06-08 07:03:23 +00:00
parent
9912b2cd67
commit
91352369a9
8 changed files with 239 additions and 23 deletions
|
@ -188,7 +188,7 @@ public class Solver extends Z3Object
|
|||
public BoolExpr[] getAssertions()
|
||||
{
|
||||
ASTVector assrts = new ASTVector(getContext(), Native.solverGetAssertions(getContext().nCtx(), getNativeObject()));
|
||||
return (BoolExpr[]) assrts.ToExprArray();
|
||||
return assrts.ToBoolExprArray();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -280,7 +280,7 @@ public class Solver extends Z3Object
|
|||
{
|
||||
|
||||
ASTVector core = new ASTVector(getContext(), Native.solverGetUnsatCore(getContext().nCtx(), getNativeObject()));
|
||||
return (BoolExpr[])core.ToExprArray();
|
||||
return core.ToBoolExprArray();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue