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

Add AssertSoft String overload for Java Api #5475

Merged
merged 1 commit into from
Aug 12, 2021

Conversation

intrigus-lgtm
Copy link
Contributor

This adds a String overload for AssertSoft.
Previously only integer weights could have been used,
limiting the user. With Strings the user can now use
e.g. Java's BigInteger class converted to a String instead.

This adds a String overload for AssertSoft.
Previously only integer weights could have been used,
limiting the user. With Strings the user can now use
e.g. Java's BigInteger class converted to a String instead.
@intrigus-lgtm
Copy link
Contributor Author

Note that I'm not really familiar with Z3, but it looks like non-int weights should work.
I also did not try to compile everything of Z3 to test my change. I hope any potential problems will be caught by CI.

@NikolajBjorner NikolajBjorner merged commit 35698c6 into Z3Prover:master Aug 12, 2021
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