Skip to content

Commit

Permalink
Use PlatypusConfig.default_variator
Browse files Browse the repository at this point in the history
  • Loading branch information
dhadka committed Sep 8, 2024
1 parent 561fda7 commit 0ed8181
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ema_workbench/em_framework/outputspace_exploration.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
RandomGenerator,
Dominance,
AbstractGeneticAlgorithm,
default_variator,
AdaptiveTimeContinuation,
GAOperator,
SBX,
Expand All @@ -38,6 +37,7 @@
PCX,
UNDX,
Multimethod,
PlatypusConfig,
)


Expand Down Expand Up @@ -186,7 +186,7 @@ def initialize(self):
self.archive += self.population

if self.variator is None:
self.variator = default_variator(self.problem)
self.variator = PlatypusConfig.default_variator(self.problem)

def iterate(self):
offspring = []
Expand Down

0 comments on commit 0ed8181

Please sign in to comment.