Skip to content

Commit 1e15f7f

Browse files
chore: refactor according to commit comments
PR-URL: #5099 Closes: #5092 Co-authored-by: Philipp Burckhardt <[email protected]> Reviewed-by: Philipp Burckhardt <[email protected]> Signed-off-by: Philipp Burckhardt <[email protected]>
1 parent f8268a3 commit 1e15f7f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ int main( void ) {
246246
alpha = random_uniform( STDLIB_CONSTANT_FLOAT64_EPS, 5.0 );
247247
beta = random_uniform( STDLIB_CONSTANT_FLOAT64_EPS, 5.0 );
248248
y = stdlib_base_dists_beta_pdf( x, alpha, beta );
249-
printf( "x: %1f. α: %1f. β: %1f. f(x;α,β): %lf\n", x, alpha, beta, y );
249+
printf( "x: %lf, α: %lf, β: %lf, f(x;α,β): %lf\n", x, alpha, beta, y );
250250
}
251251
}
252252
```

lib/node_modules/@stdlib/stats/base/dists/beta/pdf/benchmark/c/benchmark.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/**
22
* @license Apache-2.0
33
*
44
* Copyright (c) 2025 The Stdlib Authors.

lib/node_modules/@stdlib/stats/base/dists/beta/pdf/examples/c/example.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ int main( void ) {
3838
alpha = random_uniform( STDLIB_CONSTANT_FLOAT64_EPS, 5.0 );
3939
beta = random_uniform( STDLIB_CONSTANT_FLOAT64_EPS, 5.0 );
4040
y = stdlib_base_dists_beta_pdf( x, alpha, beta );
41-
printf( "x: %1f. α: %1f. β: %1f. f(x;α,β): %lf\n", x, alpha, beta, y );
41+
printf( "x: %lf, α: %lf, β: %lf, f(x;α,β): %lf\n", x, alpha, beta, y );
4242
}
4343
}

lib/node_modules/@stdlib/stats/base/dists/beta/pdf/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* double y = stdlib_base_dists_beta_pdf( 0.5, 1.0, 1.0 );
3737
* // returns 1.0
3838
*/
39-
double stdlib_base_dists_beta_pdf( const double x, double alpha, const double beta ) {
39+
double stdlib_base_dists_beta_pdf( const double x, const double alpha, const double beta ) {
4040
double out;
4141
if (
4242
stdlib_base_is_nan( x ) ||

0 commit comments

Comments
 (0)