Skip to content

Commit

Permalink
minor doc improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
wsc1 committed Nov 20, 2018
1 parent 72b6f5c commit 376a6a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/xo/s.go
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ func (s *S) MaxVar() z.Var {
return s.Vars.Max
}

// Why appends a minimized list of assumptions
// Why appends to ms a minimized list of assumptions
// which together caused previous call to be unsat.
//
// If previous call was not unsat, then Why() returns ms
Expand Down
4 changes: 3 additions & 1 deletion sudoku_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ import (
func Example_sudoku() {
g := gini.New()
// 9 rows, 9 cols, 9 boxes, 9 numbers

// one variable for each triple (row, col, n)
// indicating whether or not the number n
// appears in position (row,col).
var lit = func(row, col, num int) z.Lit {
n := num
n += col * 9
Expand Down

0 comments on commit 376a6a8

Please # to comment.