mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
update for int return value
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
fad1e611aa
commit
13413d0529
2 changed files with 5 additions and 3 deletions
|
@ -2455,7 +2455,7 @@ def _is_numeral(ctx, a):
|
|||
return Z3_is_numeral_ast(ctx.ref(), a)
|
||||
|
||||
def _is_algebraic(ctx, a):
|
||||
return Z3_is_algebraic_number(ctx.ref(), a)
|
||||
return 0 != Z3_is_algebraic_number(ctx.ref(), a)
|
||||
|
||||
def is_int_value(a):
|
||||
"""Return `True` if `a` is an integer value of sort Int.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue