mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 10:25:18 +00:00
fix #6682
This commit is contained in:
parent
368d60f553
commit
ccc4f2d382
|
@ -3173,12 +3173,8 @@ def _to_int_str(val):
|
|||
return "1"
|
||||
else:
|
||||
return "0"
|
||||
elif _is_int(val):
|
||||
else:
|
||||
return str(val)
|
||||
elif isinstance(val, str):
|
||||
return val
|
||||
if z3_debug():
|
||||
_z3_assert(False, "Python value cannot be used as a Z3 integer")
|
||||
|
||||
|
||||
def IntVal(val, ctx=None):
|
||||
|
|
Loading…
Reference in a new issue