Skip to content

Commit 064704b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 20184aa commit 064704b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

genetic_algorithm/genetic_algorithm_optimization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def select_parents(
130130
>>> np.array_equal(selected_parents[0], np.array([1.0, 2.0]))
131131
True # Parent 1 should be [1.0, 2.0]
132132
"""
133-
133+
134134
if not population_score:
135135
raise ValueError("Population score is empty, cannot select parents.")
136136

0 commit comments

Comments
 (0)