mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 13:28:47 +00:00
Bugfix for Python API.
Thanks to John D. Ramsdell for reporting this issue (http://stackoverflow.com/questions/39584779/why-is-the-sort-of-a-bound-variable-forced-not-to-be-a-finite-domain-sort).
This commit is contained in:
parent
da4289fadc
commit
ead970b477
|
@ -1817,7 +1817,7 @@ class QuantifierRef(BoolRef):
|
|||
"""
|
||||
if __debug__:
|
||||
_z3_assert(idx < self.num_vars(), "Invalid variable idx")
|
||||
return SortRef(Z3_get_quantifier_bound_sort(self.ctx_ref(), self.ast, idx), self.ctx)
|
||||
return _to_sort_ref(Z3_get_quantifier_bound_sort(self.ctx_ref(), self.ast, idx), self.ctx)
|
||||
|
||||
def children(self):
|
||||
"""Return a list containing a single element self.body()
|
||||
|
|
Loading…
Reference in a new issue