Skip to content

Commit

Permalink
more mypy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
motus committed Jul 30, 2024
1 parent 2ecdb12 commit 1fab14d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlos_core/mlos_core/tests/spaces/spaces_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class BaseConversion(metaclass=ABCMeta):
conversion_function: Callable[..., OptimizerSpace] = invalid_conversion_function

@abstractmethod
def sample(self, config_space: OptimizerSpace, n_samples: int = 1) -> OptimizerParam:
def sample(self, config_space: OptimizerSpace, n_samples: int = 1) -> npt.NDArray:
"""
Sample from the given configuration space.
Expand Down

0 comments on commit 1fab14d

Please sign in to comment.