Skip to content

Commit aa9b2b0

Browse files
authored
Merge pull request #231 from ahmedfgad/master
Keep branch up to date
2 parents d50f118 + 759ed4e commit aa9b2b0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/source/pygad.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,9 @@ It accepts the following parameters:
920920
- ``pop_fitness=None``: An optional parameter that accepts a list of
921921
the fitness values of the solutions in the population. If ``None``,
922922
then the ``cal_pop_fitness()`` method is called to calculate the
923-
fitness values of the population.
923+
fitness values of the ``self.population``. Use
924+
``ga_instance.last_generation_fitness`` to use latest fitness value
925+
and skip recalculation of the population fitness.
924926

925927
It returns the following:
926928

0 commit comments

Comments
 (0)