Skip to content

Commit acd1595

Browse files
authored
docs: correct C example in stats/base/dists/beta/mgf
PR-URL: #11051 Reviewed-by: Philipp Burckhardt <pburckhardt@outlook.com>
1 parent 5da0471 commit acd1595

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/stats/base/dists/beta/mgf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ int main( void ) {
246246
t = random_uniform( 0.0, 20.0 );
247247
alpha = random_uniform( 1.0 + STDLIB_CONSTANT_FLOAT64_EPS, 100.0 );
248248
beta = random_uniform( 1.0 + STDLIB_CONSTANT_FLOAT64_EPS, 100.0 );
249-
y = stdlib_base_dists_beta_mgf( alpha, beta );
249+
y = stdlib_base_dists_beta_mgf( t, alpha, beta );
250250
printf( "t: %lf, α: %lf, β: %lf, M_X(t;α,β): %lf\n", t, alpha, beta, y );
251251
}
252252
}

0 commit comments

Comments
 (0)