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:
parent
99861ffc32
commit
45eda4bee7
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue