Skip to content

Commit

Permalink
Merge pull request #241 from nabenabe0928/fix-error-in-zdt
Browse files Browse the repository at this point in the history
Fix a bug in ZDT
  • Loading branch information
y0z authored Jan 21, 2025
2 parents e7486f5 + cda06d9 commit 737782c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/benchmarks/zdt/_zdt.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def __init__(self, function_id: int, **kwargs: Any) -> None:
f"x{i}": optuna.distributions.FloatDistribution(
self._problem.min_bounds[i], self._problem.max_bounds[i]
)
for i in range(self.problem.num_variables)
for i in range(self._problem.num_variables)
}
else:
self._search_space = {}
Expand Down

0 comments on commit 737782c

Please sign in to comment.