Skip to content

Commit

Permalink
placate flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Jun 28, 2017
1 parent 86deb03 commit b21f0f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_evolutionary_algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def _crossover(self, parent1, parent2):
def _mutate(self, member):
if self.mutation_rate >= random():
member = list(member)
member[randint(0,4)] = choice(ascii_lowercase)
member[randint(0, 4)] = choice(ascii_lowercase)
member = ''.join(member)
return member

Expand Down

0 comments on commit b21f0f7

Please sign in to comment.