From 6a3270bfac8d6b6b2629238d3aa3e54239736bd4 Mon Sep 17 00:00:00 2001 From: waterfall-xi <146172962+waterfall-xi@users.noreply.github.com> Date: Mon, 6 Nov 2023 06:19:08 +0800 Subject: [PATCH] Remove duplicate termination assign in algorithm.py (#493) There are dulicate termination assign in line 41 and line 70, then lines 69 to 71 of the code are removed. --- pymoo/core/algorithm.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/pymoo/core/algorithm.py b/pymoo/core/algorithm.py index f3fc071f5..441aef1db 100644 --- a/pymoo/core/algorithm.py +++ b/pymoo/core/algorithm.py @@ -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()