mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 11:55:51 +00:00
workaround non-deterministic behavior of is_irrational_numeral test
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
481b177d47
commit
f1d27cd487
20 changed files with 77 additions and 77 deletions
|
@ -103,7 +103,7 @@ namespace Microsoft.Z3
|
|||
/// </summary>
|
||||
public bool Inconsistent
|
||||
{
|
||||
get { return Native.Z3_goal_inconsistent(Context.nCtx, NativeObject) != 0; }
|
||||
get { return Native.Z3_goal_inconsistent(Context.nCtx, NativeObject) ; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -163,7 +163,7 @@ namespace Microsoft.Z3
|
|||
/// </summary>
|
||||
public bool IsDecidedSat
|
||||
{
|
||||
get { return Native.Z3_goal_is_decided_sat(Context.nCtx, NativeObject) != 0; }
|
||||
get { return Native.Z3_goal_is_decided_sat(Context.nCtx, NativeObject) ; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -171,7 +171,7 @@ namespace Microsoft.Z3
|
|||
/// </summary>
|
||||
public bool IsDecidedUnsat
|
||||
{
|
||||
get { return Native.Z3_goal_is_decided_unsat(Context.nCtx, NativeObject) != 0; }
|
||||
get { return Native.Z3_goal_is_decided_unsat(Context.nCtx, NativeObject) ; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -251,7 +251,7 @@ namespace Microsoft.Z3
|
|||
internal Goal(Context ctx, IntPtr obj) : base(ctx, obj) { Contract.Requires(ctx != null); }
|
||||
|
||||
internal Goal(Context ctx, bool models, bool unsatCores, bool proofs)
|
||||
: base(ctx, Native.Z3_mk_goal(ctx.nCtx, (models) ? 1 : 0, (unsatCores) ? 1 : 0, (proofs) ? 1 : 0))
|
||||
: base(ctx, Native.Z3_mk_goal(ctx.nCtx, (models), (unsatCores), (proofs)))
|
||||
{
|
||||
Contract.Requires(ctx != null);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue