Skip to content

Commit

Permalink
Counting Disease Carriers (fix typo)
Browse files Browse the repository at this point in the history
Fixed a typo in the solution description in which variable names were
switched.
  • Loading branch information
jschendel committed Oct 7, 2013
1 parent 373f8d0 commit b7a6f38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 065_AFRQ.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

# This solution is more mathematics than programming.
#
# Let x = proportion heterozygous, y = proportion homozygous recessive.
# Let x = proportion homozygous recessive, y = proportion heterozygous.
# We want the proportion of the population carrying at least one recessive gene, so the answer is x + y.
#
# Assume that the allele frequency is stable, meaning that it remains the same after mating.
Expand Down

0 comments on commit b7a6f38

Please sign in to comment.