Skip to content

Commit

Permalink
Remove an irrelevant TODO comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
toshihikoyanase committed Jun 8, 2020
1 parent 25f19df commit 946cbe3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion optuna/integration/cma.py
Expand Up @@ -322,7 +322,6 @@ def __init__(
lows.append(dist.low - 0.5 * dist.step)
highs.append(dist.high + 0.5 * dist.step)
elif isinstance(dist, IntLogUniformDistribution):
# TODO(toshihikoyanase): Shifting 0.5 is not sufficient if step > 1.
lows.append(self._to_cma_params(search_space, param_name, dist.low - 0.5))
highs.append(self._to_cma_params(search_space, param_name, dist.high + 0.5))
else:
Expand Down

0 comments on commit 946cbe3

Please sign in to comment.