Skip to content

Commit 2d4f664

Browse files
authored
style: resolve lint errors
PR-URL: #5990 Closes: #5899 Ref: afc07e7 Reviewed-by: Athan Reines <[email protected]>
1 parent 8839ab9 commit 2d4f664

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:
@@ -187,7 +187,6 @@ double stdlib_base_dists_geometric_median( const double p );
187187
#include "stdlib/stats/base/dists/geometric/median.h"
188188
#include <stdlib.h>
189189
#include <stdio.h>
190-
#include <math.h>
191190
192191
static double random_uniform( const double min, const double max ) {
193192
double v = (double)rand() / ( (double)RAND_MAX + 1.0 );

0 commit comments

Comments
 (0)