Skip to content

Commit 82f3df6

Browse files
authored
Updated example.c as per requirements of the comments.
Signed-off-by: ekambains <[email protected]>
1 parent 4cb10c5 commit 82f3df6

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/degenerate/entropy/examples/c

1 file changed

+1
-1
lines changed

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)