aboutsummaryrefslogtreecommitdiff
path: root/bestflags/steering.py
diff options
context:
space:
mode:
Diffstat (limited to 'bestflags/steering.py')
-rw-r--r--bestflags/steering.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bestflags/steering.py b/bestflags/steering.py
index 5cdf8aed..a7a559e2 100644
--- a/bestflags/steering.py
+++ b/bestflags/steering.py
@@ -99,7 +99,7 @@ def Steering(cache, generations, input_queue, result_queue):
# A generation may not generate the next generation, e.g., because a
# fixpoint has been reached, there has not been any improvement for a few
# generations or a local maxima is reached.
- if not generation.Improved():
+ if not generation.IsImproved():
continue
for new_generation in generation.Next(cache):