-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
solverCheckAndGetModel segfaults on timeout #31
Comments
OK, interesting. Have you tried reporting this to Z3's people? Citing the documentation:
Requesting a model when Nowadays I'm a bit disconnected with the SMT-world but as far as I remember one could get a model from an undefined result. Perhaps requires to set an option or something. |
We have a workaround in our fork for now, but we're planning on writing new, type-safe bindings for smt; will let you know once we figure it out and maybe our changes can be useful to you! |
Sure, please submit a pull request if you have a proposal to fix it. I would very much appreciate it. In this case the correct fix IMO is to make Regarding the type-safe bindings. I would be very happy to see a type-safe alternative. It depends how much type-safe you want to be. We tried that in earlier versions, it was called Then I had plans to make the bindings "safer" even if not type/statically-safe. But I no longer have enough spare time for that! |
Sounds goo, thanks! |
solverCheckAndGetModel segfaults on timeout. Might we worth only calling getModel when sat:
The text was updated successfully, but these errors were encountered: