Skip to content

Commit 13f9c1c

Browse files
fix: CI errors
1 parent 4848a53 commit 13f9c1c

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

lib/node_modules/@stdlib/stats/base/dists/bernoulli/cdf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Evaluates the [cumulative distribution function][cdf] for a [Bernoulli][bernoull
5959

6060
```javascript
6161
var y = cdf( 1.0, 0.5 );
62-
// returns 0.5
62+
// returns 1.0
6363

6464
y = cdf( 0.5, 0.5 );
6565
// returns 0.5

lib/node_modules/@stdlib/stats/base/dists/bernoulli/cdf/lib/native.js

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,12 @@ var addon = require( './../src/addon.node' );
3333
* @returns {Probability} evaluated CDF
3434
*
3535
* @example
36-
* var y = cdf( 0.5, 0.5 );
37-
* // returns 0.5
38-
*
39-
* @example
40-
* var y = cdf( 2.0, 0.1 );
36+
* var y = cdf( 1.0, 0.5 );
4137
* // returns 1.0
42-
*
38+
*
4339
* @example
44-
* var y = cdf( -1.0, 0.3 );
45-
* // returns 0.0
40+
* var y = cdf( 0.5, 0.5 );
41+
* // returns 0.5
4642
*
4743
* @example
4844
* var y = cdf( NaN, 0.5 );
@@ -53,8 +49,11 @@ var addon = require( './../src/addon.node' );
5349
* // returns NaN
5450
*
5551
* @example
56-
* // Invalid probability
57-
* var y = cdf( 0.5, 1.4 );
52+
* var y = cdf( 0.9, -1.0 );
53+
* // returns NaN
54+
*
55+
* @example
56+
* var y = cdf( 0.9, 1.5 );
5857
* // returns NaN
5958
*/
6059
function cdf( x, p ) {

0 commit comments

Comments
 (0)