Skip to content

Commit c1b59c8

Browse files
author
unas0706
committed
docs: update return value and remove unused header in geometric median README
1 parent 8a07256 commit c1b59c8

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Returns the [median][median] of a [geometric][geometric-distribution] distributi
154154

155155
```c
156156
double out = stdlib_base_dists_geometric_median( 0.5 );
157-
// returns 1
157+
// returns 0
158158
```
159159

160160
The function accepts the following arguments:
@@ -184,7 +184,6 @@ double stdlib_base_dists_geometric_median( const double p );
184184
### Examples
185185
186186
```c
187-
#include "stdlib/stats/base/dists/geometric/median.h"
188187
#include <stdlib.h>
189188
#include <stdio.h>
190189
#include <math.h>

0 commit comments

Comments
 (0)