Skip to content

Commit

Permalink
Avoid specifying np random state as type due to compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Dec 24, 2023
1 parent a812e16 commit f2294b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysr/sr.py
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ def __init__(
turbo: bool = False,
precision: int = 32,
enable_autodiff: bool = False,
random_state: Optional[Union[int, np.random.RandomState]] = None,
random_state=None,
deterministic: bool = False,
warm_start: bool = False,
verbosity: int = 1,
Expand Down

0 comments on commit f2294b3

Please sign in to comment.