Skip to content

Commit 2ceff20

Browse files
committed
Update docstring of erf function per review comment
1 parent 3b1e7df commit 2ceff20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dpnp/special/_erf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def __call__(self, x, out=None): # pylint: disable=signature-differs
7272

7373

7474
_ERF_DOCSTRING = r"""
75-
Returns the error function of complex argument.
75+
Calculates the Gauss error function of a given input array.
7676
7777
It is defined as :math:`\frac{2}{\sqrt{\pi}} \int_{0}^{z} e^{-t^2} \, dt`.
7878
@@ -81,7 +81,7 @@ def __call__(self, x, out=None): # pylint: disable=signature-differs
8181
Parameters
8282
----------
8383
x : {dpnp.ndarray, usm_ndarray}
84-
Input array.
84+
Input array, expected to have a real-valued floating-point data type.
8585
out : {dpnp.ndarray, usm_ndarray}, optional
8686
Optional output array for the function values.
8787

0 commit comments

Comments
 (0)