Skip to content

Commit

Permalink
Update package/benchmarks/bbob/_bbob.py
Browse files Browse the repository at this point in the history
  • Loading branch information
y0z authored Dec 13, 2024
1 parent 2deb9e6 commit b2c627b
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 @@ -89,7 +89,7 @@ def evaluate(self, params: dict[str, float]) -> float:
The objective value.
"""
return self._problem(list(params.values()))
return self._problem([params[name] for name in self._search_space])

def __getattr__(self, name: str) -> Any:
return getattr(self._problem, name)
Expand Down

0 comments on commit b2c627b

Please sign in to comment.