Skip to content

Commit db97f2f

Browse files
committed
Update warning
1 parent 27b7997 commit db97f2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bayes_opt/acquisition.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ def __init__(self, random_state: int | RandomState | None = None) -> None:
6666
if random_state is not None:
6767
msg = (
6868
"Providing a random_state to an acquisition function during initialization is deprecated "
69-
"and will be ignored. The random_state should be provided during the suggest() call."
69+
"and will be ignored. The random_state is instead provided automatically during the "
70+
"suggest() call."
7071
)
7172
warnings.warn(msg, DeprecationWarning, stacklevel=2)
7273
self.i = 0

0 commit comments

Comments
 (0)