-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Conversation
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? |
CLA not required, example code exception. |
|
||
// each 3x3 square contains a digit at most once | ||
for (unsigned i0 = 0; i0 < 3; i0++) { | ||
for (uint j0 = 0; j0 < 3; j0++) { |
There was a problem hiding this comment.
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.
And for it to compile as well! Currently fixing it. |
Relates to Z3Prover#26
* 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]>
Just for fun.