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

Fix empty sums in Z3 #464

Merged
merged 1 commit into from
Mar 22, 2025
Merged

Fix empty sums in Z3 #464

merged 1 commit into from
Mar 22, 2025

Conversation

daniel-raffler
Copy link
Contributor

Hello,
Z3 crashes when NumeralFormulaManager.sum() is called with no arguments. This PR adds some checks to handle this special-case.

Copy link
Member

@kfriedberger kfriedberger left a comment

Choose a reason for hiding this comment

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

lgtm.

@kfriedberger kfriedberger merged commit 333a3f6 into master Mar 22, 2025
2 of 3 checks passed
@kfriedberger kfriedberger deleted the empty-sum-z3 branch March 22, 2025 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants