mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue