diff --git a/yabox/algorithms/de.py b/yabox/algorithms/de.py index afb56de..274da0c 100644 --- a/yabox/algorithms/de.py +++ b/yabox/algorithms/de.py @@ -189,7 +189,8 @@ def solve(self, show_progress=False): iterator.n = self.maxiters iterator.refresh() iterator.close() - return self.denormalize(P[idx].reshape(-1, 1)), fitness[idx] + break + return self.denormalize(P[idx].reshape(-1, 1)), fitness[idx] class PDE(DE):