Skip to content

Commit 1fa1c1d

Browse files
fix: change example in readme
1 parent e89d1e4 commit 1fa1c1d

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/geometric/pmf

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/stats/base/dists/geometric/pmf/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ for ( i = 0; i < 10; i++ ) {
168168
Evaluates evaluating the [probability mass function][pmf] (PMF) of a [geometric][geometric-distribution] distribution with success probability `0 <= p <= 1`.
169169

170170
```c
171-
double out = stdlib_base_dists_geometric_pmf( 2.0, 0.5 );
172-
// returns 0.875
171+
double out = stdlib_base_dists_geometric_pmf( 4.0, 0.3 );
172+
// returns ~0.072
173173
```
174174

175175
The function accepts the following arguments:

0 commit comments

Comments
 (0)