Permalink
Browse files

Fix bug in variable names

  • Loading branch information...
1 parent 0836c63 commit 0b570dfdb9ed2a8e776a16e8cf0208fe1a9fbb43 @mattbasta mattbasta committed Jan 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/local_search_problems.rst
@@ -43,7 +43,7 @@ Example:
# generate a random initial string
# note that with this example, not always we will find a solution
letters = ' ABCDEFGHIJKLMNOPQRSTUVWXYZ'
- return random.choice(letter)
+ return random.choice(letters)
Special case: genetic search

0 comments on commit 0b570df

Please sign in to comment.