Skip to content

Commit

Permalink
Review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
YamLyubov committed Feb 13, 2024
1 parent b128e5b commit ebe25c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion golem/core/optimisers/genetic/gp_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class GPAlgorithmParameters(AlgorithmParameters):
adaptive_mutation_type: MutationAgentTypeEnum = MutationAgentTypeEnum.default
context_agent_type: Union[ContextAgentTypeEnum, Callable] = ContextAgentTypeEnum.nodes_num

selection_types: Sequence[Union[SelectionTypesEnum, Any]] = None
selection_types: Optional[Sequence[Union[SelectionTypesEnum, Any]]] = None
crossover_types: Sequence[Union[CrossoverTypesEnum, Any]] = \
(CrossoverTypesEnum.one_point,)
mutation_types: Sequence[Union[MutationTypesEnum, Any]] = simple_mutation_set
Expand Down

0 comments on commit ebe25c8

Please sign in to comment.