Skip to content

Commit c8451f6

Browse files
committed
formatting
1 parent 25147e2 commit c8451f6

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

smac/intensifier/mixins/intermediate_decision.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,4 +154,4 @@ def _check_for_intermediate_comparison(self, config: Configuration) -> bool:
154154
-------
155155
A boolean which decides if the current configuration should be compared against the incumbent.
156156
"""
157-
return False
157+
return False

smac/utils/pareto_front.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ def calculate_pareto_front(
8989

9090
def sort_by_crowding_distance(
9191
runhistory: RunHistory,
92-
configs: list[Configuration|int],
92+
configs: list[Configuration | int],
9393
config_instance_seed_budget_keys: list[list[InstanceSeedBudgetKey]],
9494
normalize: bool = False,
95-
) -> list[Configuration|int]:
95+
) -> list[Configuration | int]:
9696
"""Sorts the passed configurations by their crowding distance. Taken from
9797
https://github.com/anyoptimization/pymoo/blob/20abef1ade71915352217400c11ece4c2f35163e/pymoo/algorithms/nsga2.py
9898

0 commit comments

Comments
 (0)