Skip to content

Commit

Permalink
Edit comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedfgad committed Nov 8, 2023
1 parent 0f26588 commit 58b0b52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygad/pygad.py
Original file line number Diff line number Diff line change
Expand Up @@ -1808,7 +1808,7 @@ def cal_pop_fitness(self):
solutions_to_submit.append(sol.copy())
solutions_to_submit_indices.append(sol_idx)
elif type(pop_fitness[sol_idx]) in [list, tuple, numpy.ndarray]:
# This is a multi-objective problem.
# This is a multi-objective problem. The fitness is already calculated. Nothing to do.
pass

# Check if batch processing is used. If not, then calculate the fitness value for individual solutions.
Expand Down

0 comments on commit 58b0b52

Please sign in to comment.