Skip to content

Commit

Permalink
v0.5.3 : fix offspring generator
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffreyp committed Jul 17, 2020
1 parent d773059 commit 9e46a40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion moead_framework/algorithm/abstract_moead.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def __init__(self, problem, max_evaluation, number_of_objective, number_of_weigh
if offspring_generator is None:
self.offspring_generator = OffspringGeneratorGeneric(algorithm_instance=self)
else:
self.offspring_generator = offspring_generator
self.offspring_generator = offspring_generator(algorithm_instance=self)

@abstractmethod
def run(self, checkpoint=None):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="moead-framework",
version="0.5.2",
version="0.5.3",
author="Geoffrey Pruvost",
author_email="geoffrey@pruvost.xyz",
description="MOEA/D Framework in Python 3",
Expand Down

0 comments on commit 9e46a40

Please sign in to comment.