Skip to content

Commit

Permalink
Remove duplicate termination assign in algorithm.py (anyoptimization#493
Browse files Browse the repository at this point in the history
)

There are dulicate termination assign in line 41 and line 70, then lines 69 to 71 of the code are removed.
  • Loading branch information
waterfall-xi authored Nov 5, 2023
1 parent f3f4b83 commit 6a3270b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pymoo/core/algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ def __init__(self,
# the random seed that was used
self.seed = seed

# an algorithm can defined the default termination which can be overwritten
self.termination = termination

# the function evaluator object (can be used to inject code)
if evaluator is None:
evaluator = Evaluator()
Expand Down

0 comments on commit 6a3270b

Please sign in to comment.