@@ -23,13 +23,13 @@ def _hybrd(
2323 x0 : onp .Array1D [np .float64 ],
2424 args : tuple [object , ...],
2525 full_output : bool ,
26- xtol : float ,
26+ xtol : float | None ,
2727 maxfev : int ,
2828 ml : int ,
2929 mu : int ,
30- epsfcn : float ,
31- factor : float ,
32- diag : onp .Array1D [np .float64 ],
30+ epsfcn : float | None ,
31+ factor : float | None ,
32+ diag : onp .Array1D [np .float64 ] | None ,
3333) -> tuple [onp .Array1D [np .float64 ], dict [str , Any ], int ]: ...
3434def _hybrj (
3535 fun : Callable [..., onp .Array1D [np .float64 ]],
@@ -38,23 +38,23 @@ def _hybrj(
3838 args : tuple [object , ...],
3939 full_output : bool ,
4040 col_deriv : bool ,
41- xtol : float ,
41+ xtol : float | None ,
4242 maxfev : int ,
43- factor : float ,
44- diag : onp .Array1D [np .float64 ],
43+ factor : float | None ,
44+ diag : onp .Array1D [np .float64 ] | None ,
4545) -> tuple [onp .Array1D [np .float64 ], dict [str , Any ], int ]: ...
4646def _lmdif (
4747 fun : Callable [..., onp .Array1D [np .float64 ]],
4848 x0 : onp .Array1D [np .float64 ],
4949 args : tuple [object , ...],
5050 full_output : bool ,
51- ftol : float ,
52- xtol : float ,
53- gtol : float ,
51+ ftol : float | None ,
52+ xtol : float | None ,
53+ gtol : float | None ,
5454 maxfev : int ,
55- epsfcn : float ,
56- factor : float ,
57- diag : onp .Array1D [np .float64 ],
55+ epsfcn : float | None ,
56+ factor : float | None ,
57+ diag : onp .Array1D [np .float64 ] | None ,
5858) -> tuple [onp .Array1D [np .float64 ], dict [str , Any ], int ]: ...
5959def _lmder (
6060 fun : Callable [..., onp .Array1D [np .float64 ]],
@@ -63,10 +63,10 @@ def _lmder(
6363 args : tuple [object , ...],
6464 full_output : bool ,
6565 col_deriv : bool ,
66- ftol : float ,
67- xtol : float ,
68- gtol : float ,
66+ ftol : float | None ,
67+ xtol : float | None ,
68+ gtol : float | None ,
6969 maxfev : int ,
70- factor : float ,
71- diag : onp .Array1D [np .float64 ],
70+ factor : float | None ,
71+ diag : onp .Array1D [np .float64 ] | None ,
7272) -> tuple [onp .Array1D [np .float64 ], dict [str , Any ], int ]: ...
0 commit comments