Skip to content

Commit 3085c7e

Browse files
Update basic_string.py
1 parent a722243 commit 3085c7e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

genetic_algorithm/basic_string.py

-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ def basic(target: str, genes: list[str], debug: bool = True) -> tuple[int, int,
155155
# population_score = [item.result() for item in futures]
156156
#
157157
# but with a simple algorithm like this, it will probably be slower.
158-
159158
# (Option 2) We just need to call evaluate for every item inside the population.
160159
population_score = [evaluate(item, target) for item in population]
161160

0 commit comments

Comments
 (0)