mirror of
https://github.com/Z3Prover/z3
synced 2025-06-13 17:36:15 +00:00
Build/test fix for python3
This commit is contained in:
parent
acdaeca826
commit
d495b08639
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,8 @@ from .z3core import *
|
||||||
from .z3printer import *
|
from .z3printer import *
|
||||||
from fractions import Fraction
|
from fractions import Fraction
|
||||||
|
|
||||||
|
from .z3 import _get_ctx
|
||||||
|
|
||||||
def _to_numeral(num, ctx=None):
|
def _to_numeral(num, ctx=None):
|
||||||
if isinstance(num, Numeral):
|
if isinstance(num, Numeral):
|
||||||
return num
|
return num
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue