Skip to content

Commit

Permalink
Fixed logging
Browse files Browse the repository at this point in the history
  • Loading branch information
alcides committed Oct 23, 2024
1 parent ce3048a commit 810c313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/logging_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ def target(x):


alg_gp = GeneticProgramming(problem=problem, budget=budget, representation=representation, population_size=10)
ind = alg_gp.search()
ind = alg_gp.search()[0]
print("\n======\nGP\n======\n")
print(f"{ind.get_fitness(problem)} - {ind}")

0 comments on commit 810c313

Please sign in to comment.