Skip to content

Commit

Permalink
Update README.
Browse files Browse the repository at this point in the history
  • Loading branch information
PytLab committed Jan 31, 2018
1 parent 9b27685 commit 7f70a0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ or if you want to minimize it, you can add a minimization decorator on it
interval = 1
def register_step(self, ng, population, engine):
best_indv = population.best_indv(engine.fitness)
msg = 'Generation: {}, best fitness: {:.3f}'.format(ng, engine.fitness(best_indv))
msg = 'Generation: {}, best fitness: {:.3f}'.format(ng, engine.fmax)
engine.logger.info(msg)
7. Run
Expand Down

0 comments on commit 7f70a0e

Please sign in to comment.