mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
Merge branch 'unstable' of https://git01.codeplex.com/z3 into fpa-api
This commit is contained in:
commit
a26b51c7f3
|
@ -210,7 +210,7 @@ namespace Microsoft.Z3
|
||||||
public Status Check(params Expr[] assumptions)
|
public Status Check(params Expr[] assumptions)
|
||||||
{
|
{
|
||||||
Z3_lbool r;
|
Z3_lbool r;
|
||||||
if (assumptions == null)
|
if (assumptions == null || assumptions.Length == 0)
|
||||||
r = (Z3_lbool)Native.Z3_solver_check(Context.nCtx, NativeObject);
|
r = (Z3_lbool)Native.Z3_solver_check(Context.nCtx, NativeObject);
|
||||||
else
|
else
|
||||||
r = (Z3_lbool)Native.Z3_solver_check_assumptions(Context.nCtx, NativeObject, (uint)assumptions.Length, AST.ArrayToNative(assumptions));
|
r = (Z3_lbool)Native.Z3_solver_check_assumptions(Context.nCtx, NativeObject, (uint)assumptions.Length, AST.ArrayToNative(assumptions));
|
||||||
|
|
Loading…
Reference in a new issue