Skip to content

Commit 4a0b07a

Browse files
committed
LINT
1 parent 481ac1e commit 4a0b07a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

scipy/optimize/_optimize.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,11 +1077,11 @@ def check_grad(func, grad, x0, *args, epsilon=_epsilon,
10771077
As part of the `SPEC-007 <https://scientific-python.org/specs/spec-0007/>`_
10781078
transition from use of `numpy.random.RandomState` to
10791079
`numpy.random.Generator`, this keyword was changed from `seed` to `rng`.
1080-
For an interim period, both keywords will continue to work, although only one
1081-
may be specified at a time. After the interim period, function calls using
1082-
the `seed` keyword will emit warnings. The behavior of both `seed` and
1083-
`rng` are outlined above, but only the `rng` keyword should be used in new
1084-
code.
1080+
For an interim period, both keywords will continue to work, although only
1081+
one may be specified at a time. After the interim period, function calls
1082+
using the `seed` keyword will emit warnings. The behavior of both `seed`
1083+
and `rng` are outlined above, but only the `rng` keyword should be used in
1084+
new code.
10851085
10861086
The random numbers generated with this seed affect the random vector
10871087
along which gradients are computed to check ``grad``. Note that `seed`

0 commit comments

Comments
 (0)