3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 21:38:44 +00:00

allow coercion from Boolean to Int/Real, fixes #78

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2015-05-07 21:33:36 -07:00
parent 99861ffc32
commit 45eda4bee7

View file

@ -1237,6 +1237,7 @@ class BoolSortRef(SortRef):
def is_bool(self):
return True
class BoolRef(ExprRef):
"""All Boolean expressions are instances of this class."""
def sort(self):