Skip to content

Commit 976a0fa

Browse files
authored
chore: apply suggestions from code review
Signed-off-by: Philipp Burckhardt <[email protected]>
1 parent 9e65d1d commit 976a0fa

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/node_modules/@stdlib/stats/base/dists/kumaraswamy/logcdf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ int main( void ) {
259259
a = random_uniform( 0, 5.0 );
260260
b = random_uniform( 0, 5.0 );
261261
y = stdlib_base_dists_kumaraswamy_logcdf( x, a, b );
262-
printf( "x: %lf, a: %lf, b: %lf, F(x;a,b): %lf\n", x, a, b, y );
262+
printf( "x: %lf, a: %lf, b: %lf, ln(F(x;a,b)): %lf\n", x, a, b, y );
263263
}
264264
}
265265
```

lib/node_modules/@stdlib/stats/base/dists/kumaraswamy/logcdf/benchmark/c/benchmark.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ static double benchmark( void ) {
102102

103103
for ( i = 0; i < 100; i++ ) {
104104
x[ i ] = random_uniform( 0.0, 1.0 );
105-
a[ i ] = random_uniform( 0.0, 5.0 );
106-
b[ i ] = random_uniform( 0.0, 5.0 );
105+
a[ i ] = random_uniform( 0.1, 5.0 );
106+
b[ i ] = random_uniform( 0.1, 5.0 );
107107
}
108108

109109
t = tic();

lib/node_modules/@stdlib/stats/base/dists/kumaraswamy/logcdf/examples/c/example.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ int main( void ) {
3737
a = random_uniform( 0.0, 5.0 );
3838
b = random_uniform( 0.0, 5.0 );
3939
y = stdlib_base_dists_kumaraswamy_logcdf( x, a, b );
40-
printf( "x: %lf, a: %lf, b: %lf, F(x;a,b): %lf\n", x, a, b, y );
40+
printf( "x: %lf, a: %lf, b: %lf, ln(F(x;a,b)): %lf\n", x, a, b, y );
4141
}
4242
}

0 commit comments

Comments
 (0)