3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-13 12:28:44 +00:00

fix python build

This commit is contained in:
Nikolaj Bjorner 2021-02-03 09:57:16 -08:00
parent fb1509d011
commit abcabba9fe

View file

@ -1100,7 +1100,7 @@ def _coerce_expr_merge(s, a):
if z3_debug():
_z3_assert(s1.ctx == s.ctx, "context mismatch")
_z3_assert(False, "sort mismatch")
elif s:
elif s is not None:
return s
elif isinstance(a, str):
return StringSort()