Skip to content

Commit eecbeee

Browse files
authored
chore: address commit comments
PR-URL: #5283 Closes: #5229 Ref: 120e678 Reviewed-by: Athan Reines <[email protected]>
1 parent c17d1c9 commit eecbeee

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ 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`.
68+
6869

6970
```javascript
7071
var v = stdev( NaN );

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

+1-1
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

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ var addon = require( './../src/addon.node' );
3030
*
3131
* @private
3232
* @param {number} lambda - shape parameter
33-
* @returns {Probability} evaluated standard deviation
33+
* @returns {PositiveNumber} standard deviation
34+
3435
*
3536
* @example
3637
* var v = stdev( 0.1 );

0 commit comments

Comments
 (0)