Fixed comment.

This commit is contained in:
SimpleArt
2020-11-20 09:16:56 -05:00
parent abcb19f8b0
commit aa1537b5dd

View File

@ -83,8 +83,7 @@ class Chromosome:
def index_of(self, searched_gene): def index_of(self, searched_gene):
"""Returns the index of the gene in the current chromosome. """Returns the index of the gene in the current chromosome."""
Returns -1 if no index found."""
return self.gene_list.index(searched_gene) return self.gene_list.index(searched_gene)