Skip to content

Commit

Permalink
Fix typo in algorithms.varOr() doocstring
Browse files Browse the repository at this point in the history
  • Loading branch information
loganthomas committed Oct 2, 2019
1 parent 265cfcf commit bb7a70f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deap/algorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def varOr(population, toolbox, lambda_, cxpb, mutpb):
selected at random from :math:`P_\mathrm{p}`, cloned and appended to
:math:`P_\mathrm{o}`.
This variation is named *Or* beceause an offspring will never result from
This variation is named *Or* because an offspring will never result from
both operations crossover and mutation. The sum of both probabilities
shall be in :math:`[0, 1]`, the reproduction probability is
1 - *cxpb* - *mutpb*.
Expand Down

0 comments on commit bb7a70f

Please sign in to comment.