Skip to content

Commit

Permalink
Fix merge errors
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamc committed Jul 23, 2024
1 parent 4a343fb commit 0550b7c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions smac/acquisition/maximizer/local_and_random_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ def __init__(
seed: int = 0,
uniform_configspace: ConfigurationSpace | None = None,
prior_sampling_fraction: float | None = None,
uniform_configspace: ConfigurationSpace | None = None,
prior_sampling_fraction: float | None = None,
) -> None:
super().__init__(
configspace,
Expand Down Expand Up @@ -237,10 +235,6 @@ def _maximize(
additional_start_points=random_starting_points,
)

next_configs_by_acq_value = next_configs_by_local_search
additional_start_points=random_starting_points,
)

next_configs_by_acq_value = next_configs_by_local_search
next_configs_by_acq_value.sort(reverse=True, key=lambda x: x[0])
first_five = [f"{_[0]} ({_[1].origin})" for _ in next_configs_by_acq_value[:5]]
Expand Down

0 comments on commit 0550b7c

Please sign in to comment.