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 Sudoku example. #26

Merged
merged 2 commits into from
Oct 19, 2015
Merged

Conversation

benlaurie
Copy link
Contributor

Just for fun.

@wintersteiger
Copy link
Contributor

Thanks for the example, this looks good to me.

If it's not too much trouble, could I get you to sign a CLA before we merge this?

@wintersteiger
Copy link
Contributor

CLA not required, example code exception.

@wintersteiger wintersteiger merged commit 0f467eb into Z3Prover:master Oct 19, 2015

// each 3x3 square contains a digit at most once
for (unsigned i0 = 0; i0 < 3; i0++) {
for (uint j0 = 0; j0 < 3; j0++) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just noticed: this really should be unsigned, not uint, for consistency.

@wintersteiger
Copy link
Contributor

And for it to compile as well! Currently fixing it.

wintersteiger pushed a commit to wintersteiger/z3 that referenced this pull request Oct 19, 2015
NikolajBjorner added a commit to NikolajBjorner/z3 that referenced this pull request Aug 18, 2016
* local changes

Signed-off-by: Nikolaj Bjorner <[email protected]>

* fix warnings and returning index to add_var_bound

Signed-off-by: Nikolaj Bjorner <[email protected]>
@levnach levnach mentioned this pull request Nov 28, 2018
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