Skip to content

Commit

Permalink
Fix typo in gp.staticLimit() docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
loganthomas committed Oct 2, 2019
1 parent 3eff12c commit 8d0be8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deap/gp.py
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ def staticLimit(key, max_value):
mutation operators. When an invalid (over the limit) child is generated,
it is simply replaced by one of its parents, randomly selected.
This operator can be used to avoid memory errors occuring when the tree
This operator can be used to avoid memory errors occurring when the tree
gets higher than 90 levels (as Python puts a limit on the call stack
depth), because it can ensure that no tree higher than this limit will ever
be accepted in the population, except if it was generated at initialization
Expand Down

0 comments on commit 8d0be8e

Please sign in to comment.