Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug fix: solver cannot eval on python 3.11
In newer versions of python, the C API is more strict, and will not attempt to type-coerce, instead preferring to raise an exception. This change passes the yices ID explicitly to `get_value_as_term` -- I believe that in lower versions, it was coercing the `YicesTerm` to a string via __str__, then coercing that to an int, and which happens to be its ID.
- Loading branch information