Skip to content

Commit 368834a

Browse files
chore: address commit comments
PR-URL: #5101 Closes: #5094 Reviewed-by: Philipp Burckhardt <[email protected]>
1 parent 1e15f7f commit 368834a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/node_modules/@stdlib/stats/base/dists/degenerate/entropy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ int main( void ) {
190190
for ( i = 0; i < 10; i++ ) {
191191
mu = random_uniform( 0.0, 1.0 );
192192
y = stdlib_base_dists_degenerate_entropy( mu );
193-
printf( "µ: %1f. H(X;µ): %lf\n", mu, y );
193+
printf( "µ: %lf, H(X;µ): %lf\n", mu, y );
194194
}
195195
}
196196
```

lib/node_modules/@stdlib/stats/base/dists/degenerate/entropy/benchmark/c/benchmark.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ static double benchmark( void ) {
9999
int i;
100100

101101
for ( i = 0; i < 100; i++ ) {
102-
mu[ i ] = random_uniform( -50.0, -40.0 );
102+
mu[ i ] = random_uniform( -50.0, 50.0 );
103103
}
104104

105105
t = tic();

lib/node_modules/@stdlib/stats/base/dists/degenerate/entropy/examples/c/example.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ int main( void ) {
3333
for ( i = 0; i < 10; i++ ) {
3434
mu = random_uniform( 0.0, 1.0 );
3535
y = stdlib_base_dists_degenerate_entropy( mu );
36-
printf( "µ: %1f. H(X;µ): %lf\n", mu , y );
36+
printf( "µ: %lf, H(X;µ): %lf\n", mu, y );
3737
}
3838
}

0 commit comments

Comments
 (0)