Skip to content

Commit

Permalink
fix some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dengdifan committed Nov 7, 2024
1 parent dcd3a59 commit 1ce78f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/samplers/smac_sampler/sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def _transform_step_hp_to_integer(
)
return n_discrete_values, (distribution.low, distribution.step) # type: ignore

def _step_hp_to_intger(
def _step_hp_to_integer(
self, hp_value: float | int, scale_info: tuple[int | float, int | float]
) -> int:
return int(np.round((hp_value - scale_info[0]) / scale_info[1]))
Expand Down

0 comments on commit 1ce78f3

Please sign in to comment.