Skip to content

Commit 7b9d1f9

Browse files
committed
fix *args, **kws as function params in docs
1 parent 630bfdc commit 7b9d1f9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/fitting.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ but it must look like this:
4141

4242
:param params: Parameters.
4343
:type params: :class:`~lmfit.parameter.Parameters`
44-
:param *args: Positional arguments. Must match ``args`` argument to :func:`minimize`.
45-
:param **kws: Keyword arguments. Must match ``kws`` argument to :func:`minimize`.
44+
:param args: Positional arguments. Must match ``args`` argument to :func:`minimize`.
45+
:param kws: Keyword arguments. Must match ``kws`` argument to :func:`minimize`.
4646
:return: Residual array (generally data-model) to be minimized in the least-squares sense.
4747
:rtype: numpy.ndarray. The length of this array cannot change between calls.
4848

@@ -327,8 +327,8 @@ used to abort a fit.
327327
:type iter: int
328328
:param resid: Residual array.
329329
:type resid: numpy.ndarray
330-
:param *args: Positional arguments. Must match ``args`` argument to :func:`minimize`
331-
:param **kws: Keyword arguments. Must match ``kws`` argument to :func:`minimize`
330+
:param args: Positional arguments. Must match ``args`` argument to :func:`minimize`
331+
:param kws: Keyword arguments. Must match ``kws`` argument to :func:`minimize`
332332
:return: Residual array (generally data-model) to be minimized in the least-squares sense.
333333
:rtype: None for normal behavior, any value like True to abort the fit.
334334

0 commit comments

Comments
 (0)