Skip to content
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

Require a list or set in check-sat-assuming through Python interface #297

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

makaimann
Copy link
Collaborator

It can be easy to accidentally pass a single term to check_sat_assuming and not get an error. There was no error because terms are iterable, so it adds all the children as assumptions. However, this is typically not the desired behavior and can be very confusing.

Copy link
Collaborator

@yoni206 yoni206 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks for this!

@makaimann
Copy link
Collaborator Author

Thanks for the review! The cvc5 tests are failing because I lost my file hosting where it downloaded pre-compiled versions from. I’ll look into fixing this and then will merge.

@yoni206
Copy link
Collaborator

yoni206 commented Jan 25, 2022

Cool.
What do you think about blocking the ability to merge when checks are unsuccessful?

@makaimann
Copy link
Collaborator Author

Sorry for the slow response! Good idea. I think that branch protection is already on, but it looks like you can still override it. Let me know if there's something else I should change.

@yoni206
Copy link
Collaborator

yoni206 commented Feb 1, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants