Skip to content

Commit 481ac1e

Browse files
committed
LINT
1 parent 9bed78e commit 481ac1e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scipy/optimize/_optimize.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,9 +1078,10 @@ def check_grad(func, grad, x0, *args, epsilon=_epsilon,
10781078
transition from use of `numpy.random.RandomState` to
10791079
`numpy.random.Generator`, this keyword was changed from `seed` to `rng`.
10801080
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 the
1082-
`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 code.
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.
10841085
10851086
The random numbers generated with this seed affect the random vector
10861087
along which gradients are computed to check ``grad``. Note that `seed`

0 commit comments

Comments
 (0)