Skip to content
Snippets Groups Projects
Commit 6d239348 authored by Caron Olivier's avatar Caron Olivier
Browse files

code refactoring

parent 91aa3307
Branches
No related tags found
No related merge requests found
......@@ -103,8 +103,7 @@ class MaryMorstan():
ea_space.set_parameters(ea_parameters)
if (OPERATOR_DISTRIBUTION_STRATEGY.TIME_BASED_DISTRIBUTION in (ea_space.mutation_strategy,
ea_space.crossover_strategy)
and wall_time_optimization_seconds is None):
ea_space.crossover_strategy) and wall_time_optimization_seconds is None):
raise Exception('Please specify wall_time_optimization_seconds parameters '
'if you plan to base your variation strategy on the time')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment