From 7d51c8bee61e773b549b9316e7bd9cc688a24712 Mon Sep 17 00:00:00 2001 From: Urs Elrod Date: Mon, 6 Nov 2023 15:31:10 +0100 Subject: [PATCH] fix format string typo in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 969efa9..3b92277 100644 --- a/README.md +++ b/README.md @@ -212,7 +212,7 @@ prediction = numpy.sum(numpy.array(function_inputs)*solution) print(f"Predicted output based on the best solution : {prediction}") if ga_instance.best_solution_generation != -1: - print(g"Best fitness value reached after {ga_instance.best_solution_generation} generations.") + print(f"Best fitness value reached after {ga_instance.best_solution_generation} generations.") # Saving the GA instance. filename = 'genetic' # The filename to which the instance is saved. The name is without extension.