Skip to content

Commit

Permalink
toseed
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Saves committed Feb 6, 2024
1 parent d5e2974 commit 0ebd0f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smt/utils/design_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ def _correct_get_acting(self, x: np.ndarray) -> Tuple[np.ndarray, np.ndarray]:

return x_corr, is_acting

def _to_seed(random_state=None):
def _to_seed(self, random_state=None):
seed = None
if isinstance(random_state, int):
seed = random_state
Expand Down

0 comments on commit 0ebd0f0

Please sign in to comment.