Skip to content

Commit

Permalink
Merge pull request #32 from KOLANICH/patch-1
Browse files Browse the repository at this point in the history
Fixed the bug with non-returning
  • Loading branch information
pablormier authored Aug 25, 2019
2 parents 97fa2c1 + 72108d0 commit 5659c7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yabox/algorithms/de.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 5659c7a

Please sign in to comment.