Permalink
Browse files

No need for sorting

  • Loading branch information...
Andrew Danks
Andrew Danks committed Mar 12, 2012
1 parent 519db66 commit 82883293f3aefaa63badfaf8c73c1cbbbead935b
Showing with 1 addition and 3 deletions.
  1. +1 −3 sudoku_csp.py
View
@@ -63,9 +63,7 @@ def write_board_variables(variables):
human_board.append([])
for col in range(SQUARE_SIZE):
V = variables[row][col]
- domain = V.cur_domain()
- domain.sort()
- human_board[row].append(domain)
+ human_board[row].append(V.cur_domain())
return human_board

0 comments on commit 8288329

Please sign in to comment.