mirror of
https://github.com/Z3Prover/z3
synced 2025-04-26 02:25:32 +00:00
parent
0e701138e1
commit
383d06b225
3 changed files with 3 additions and 13 deletions
|
@ -337,11 +337,7 @@ namespace Microsoft.Z3
|
|||
/// </summary>
|
||||
public bool IsInt
|
||||
{
|
||||
get
|
||||
{
|
||||
return (Native.Z3_is_numeral_ast(Context.nCtx, NativeObject) != 0 &&
|
||||
Native.Z3_get_sort_kind(Context.nCtx, Native.Z3_get_sort(Context.nCtx, NativeObject)) == (uint)Z3_sort_kind.Z3_INT_SORT);
|
||||
}
|
||||
get { return Native.Z3_get_sort_kind(Context.nCtx, Native.Z3_get_sort(Context.nCtx, NativeObject)) == (uint)Z3_sort_kind.Z3_INT_SORT; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue