Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Saves committed Feb 4, 2024
1 parent 9e89632 commit 85787d7
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 @@ -1002,7 +1002,7 @@ def _get_correct_config(self, vector: np.ndarray) -> Configuration:
seed = None
if isinstance(self.random_state, int):
seed = self.random_state
elif isinstance(random_state, np.random.RandomState):
elif isinstance(self.random_state, np.random.RandomState):
seed = self.random_state.get_state()[1][0]
self.seed = seed

Expand Down

0 comments on commit 85787d7

Please sign in to comment.