Skip to content

Commit c15d420

Browse files
authored
chore: address commit comments
PR-URL: #5261 Closes: #5235 Reviewed-by: Philipp Burckhardt <[email protected]>
1 parent 6c9505b commit c15d420

File tree

2 files changed

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

2 files changed

+1
-2
lines changed

lib/node_modules/@stdlib/stats/base/dists/geometric/mgf/examples/c/example.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
#include "stdlib/math/base/special/ln.h"
2121
#include <stdlib.h>
2222
#include <stdio.h>
23-
#include <math.h>
2423

2524
static double random_uniform( const double min, const double max ) {
2625
double v = (double)rand() / ( (double)RAND_MAX + 1.0 );

lib/node_modules/@stdlib/stats/base/dists/geometric/mgf/include/stdlib/stats/base/dists/geometric/mgf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ extern "C" {
2727
#endif
2828

2929
/**
30-
* Evaluates the moment-generating function (MGF) for the geometric distribution with probability `p` at a value `x`.
30+
* Evaluates the moment-generating function (MGF) for the geometric distribution with probability `p` at a value `t`.
3131
*/
3232
double stdlib_base_dists_geometric_mgf( const double t, const double p );
3333

0 commit comments

Comments
 (0)