Skip to content

Commit ca47ff9

Browse files
committed
Fix descriptions
1 parent a4347e1 commit ca47ff9

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

lib/node_modules/@stdlib/stats/incr/sumprod/docs/repl.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
Returns an accumulator function which incrementally computes a sum of
44
products.
55

6-
If provided a value, the accumulator function returns an updated sum. If not
7-
provided a value, the accumulator function returns the current sum.
6+
If provided input values, the accumulator function returns an updated sum.
7+
If not provided input values, the accumulator function returns the current
8+
sum.
89

910
If provided `NaN` or a value which, when used in computations, results in
1011
`NaN`, the accumulated value is `NaN` for all future invocations.

lib/node_modules/@stdlib/stats/incr/sumprod/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function incrsumprod() {
4444
return accumulator;
4545

4646
/**
47-
* If provided a value, the accumulator function returns an updated sum. If not provided a value, the accumulator function returns the current sum.
47+
* If provided input values, the accumulator function returns an updated sum. If not provided input values, the accumulator function returns the current sum.
4848
*
4949
* @private
5050
* @param {number} [x] - first value

0 commit comments

Comments
 (0)