We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Following code crashes on z3py, I crashed it unintentionally
ASSERTION VIOLATION File: ../src/ast/ast.cpp Line: 432 UNREACHABLE CODE WAS REACHED. Z3 4.8.9.0
from z3 import * s = Optimize() f = Function('f',IntSort(),IntSort()) s.maximize(f)
The text was updated successfully, but these errors were encountered:
add error generation for #4977
e26e38b
the argument to maximize should be an expression, not a function. For example
from z3 import * s = Optimize() f = Function('f',IntSort(),IntSort()) s.maximize(f(1))
I have added checks in the front-end so it now throws a more informative exception
Sorry, something went wrong.
No branches or pull requests
Following code crashes on z3py, I crashed it unintentionally
The text was updated successfully, but these errors were encountered: