Skip to content

Commit 9bed78e

Browse files
committed
MAINT: adjust docstring slightly
1 parent 3bfe589 commit 9bed78e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scipy/optimize/_optimize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1057,7 +1057,7 @@ def check_grad(func, grad, x0, *args, epsilon=_epsilon,
10571057
using `func`. By default it is ``'all'``, in which case, all
10581058
the one hot direction vectors are considered to check `grad`.
10591059
If `func` is a vector valued function then only ``'all'`` can be used.
1060-
rng : {None, int, `numpy.random.Generator`, `numpy.random.RandomState`}, optional
1060+
rng : {None, int, `numpy.random.Generator`}, optional
10611061
If `rng` is passed by keyword, types other than `numpy.random.Generator` are
10621062
passed to `numpy.random.default_rng` to instantiate a ``Generator``.
10631063
If `rng` is already a ``Generator`` instance, then the provided instance is

0 commit comments

Comments
 (0)