Skip to content

Commit 5ed388c

Browse files
committed
Tweaks to statistical function docstrings
`N-correction` becomes `N - correction` to avoid confusing subtraction with hyphenation
1 parent b810771 commit 5ed388c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dpctl/tensor/_statistical_functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def var(x, axis=None, correction=0.0, keepdims=False):
289289
Default: `None`.
290290
correction (Optional[float, int]):
291291
degrees of freedom adjustment. The divisor used in calculating the
292-
variance is `N-correction`, where `N` corresponds to the total
292+
variance is `N - correction`, where `N` corresponds to the total
293293
number of elements over which the variance is calculated.
294294
Default: `0.0`.
295295
keepdims (Optional[bool]):
@@ -341,7 +341,7 @@ def std(x, axis=None, correction=0.0, keepdims=False):
341341
over the entire array. Default: `None`.
342342
correction (Optional[float, int]):
343343
degrees of freedom adjustment. The divisor used in calculating the
344-
standard deviation is `N-correction`, where `N` corresponds to the
344+
standard deviation is `N - correction`, where `N` corresponds to the
345345
total number of elements over which the standard deviation is
346346
calculated. Default: `0.0`.
347347
keepdims (Optional[bool]):

0 commit comments

Comments
 (0)