diff --git a/package/samplers/smac_sampler/sampler.py b/package/samplers/smac_sampler/sampler.py index e09e21f4..2c1c4c05 100644 --- a/package/samplers/smac_sampler/sampler.py +++ b/package/samplers/smac_sampler/sampler.py @@ -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]))