Skip to content

Commit

Permalink
Update package/benchmarks/bbob/_bbob.py
Browse files Browse the repository at this point in the history
Co-authored-by: Shuhei Watanabe <[email protected]>
  • Loading branch information
y0z and nabenabe0928 authored Dec 13, 2024
1 parent cdf6660 commit 33caee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/benchmarks/bbob/_bbob.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __init__(self, function_id: int, dimension: int, instance_id: int = 1):
@property
def search_space(self) -> dict[str, optuna.distributions.BaseDistribution]:
"""Return the search space."""
return self._search_space
return self._search_space.copy()

@property
def directions(self) -> Sequence[optuna.study.StudyDirection]:
Expand Down

0 comments on commit 33caee7

Please sign in to comment.