Skip to content

Commit 77b3d12

Browse files
committed
chore: address commit comment
--- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: na - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: na - task: run_c_benchmarks status: na - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: na - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: na ---
1 parent ae8e7b9 commit 77b3d12

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)