You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following program results in a segmentation fault with Z3 4.8.12.0:
from z3 import *
f = Function('f', IntSort(), IntSort())
n = Int('n')
RecAddDefinition(f, n, If(n == 0, 1, 2))
A workaround is to use RecFunction (instead of Function) to declare f, even though it is not recursive. A possible fix would be to add an addFunction to the API, for non-recursive functions.
The text was updated successfully, but these errors were encountered:
The following program results in a segmentation fault with Z3 4.8.12.0:
A workaround is to use
RecFunction
(instead ofFunction
) to declaref
, even though it is not recursive. A possible fix would be to add anaddFunction
to the API, for non-recursive functions.The text was updated successfully, but these errors were encountered: