Skip to content

Commit a159b67

Browse files
committed
Fix: #5229
1 parent 8d005d6 commit a159b67

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/node_modules/@stdlib/stats/base/dists/planck/stdev/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ v = stdev( 1.5 );
6464
// returns ~0.6080
6565
```
6666

67-
If provided a success probability `λ` which is nonpositive, the function returns `NaN`.
67+
If provided a shape parameter `λ` which is nonpositive, the function returns `NaN`.
6868

6969
```javascript
7070
var v = stdev( NaN );

lib/node_modules/@stdlib/stats/base/dists/planck/stdev/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ bench( pkg, function benchmark( b ) {
3939
len = 100;
4040
lambda = new Float64Array( len );
4141
for ( i = 0; i < len; i++ ) {
42-
lambda[ i ] = uniform( 1.0, 11.0 );
42+
lambda[ i ] = uniform( 0.1, 11.0 );
4343
}
4444

4545
b.tic();

lib/node_modules/@stdlib/stats/base/dists/planck/stdev/lib/native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var addon = require( './../src/addon.node' );
3030
*
3131
* @private
3232
* @param {number} lambda - shape parameter
33-
* @returns {Probability} evaluated standard deviation
33+
* @returns {PositiveNumber} evaluated standard deviation
3434
*
3535
* @example
3636
* var v = stdev( 0.1 );

0 commit comments

Comments
 (0)