mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 14:13:23 +00:00
fix debug
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
f1d27cd487
commit
33fc56f686
1 changed files with 1 additions and 1 deletions
|
@ -1789,7 +1789,7 @@ namespace Microsoft.Z3
|
||||||
[Pure]
|
[Pure]
|
||||||
internal override void CheckNativeObject(IntPtr obj)
|
internal override void CheckNativeObject(IntPtr obj)
|
||||||
{
|
{
|
||||||
if (Native.Z3_is_app(Context.nCtx, obj) == 0 &&
|
if (Native.Z3_is_app(Context.nCtx, obj) == false &&
|
||||||
Native.Z3_get_ast_kind(Context.nCtx, obj) != (uint)Z3_ast_kind.Z3_VAR_AST &&
|
Native.Z3_get_ast_kind(Context.nCtx, obj) != (uint)Z3_ast_kind.Z3_VAR_AST &&
|
||||||
Native.Z3_get_ast_kind(Context.nCtx, obj) != (uint)Z3_ast_kind.Z3_QUANTIFIER_AST)
|
Native.Z3_get_ast_kind(Context.nCtx, obj) != (uint)Z3_ast_kind.Z3_QUANTIFIER_AST)
|
||||||
throw new Z3Exception("Underlying object is not a term");
|
throw new Z3Exception("Underlying object is not a term");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue