Skip to content

Commit 6ec5bc8

Browse files
authored
chore: apply suggestions from code review
Signed-off-by: Philipp Burckhardt <[email protected]>
1 parent 1c12892 commit 6ec5bc8

File tree

1 file changed

+2
-3
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/degenerate/entropy

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,7 @@ for ( i = 0; i < 10; i++ ) {
139139

140140
#### stdlib_base_dists_degenerate_entropy( mu )
141141

142-
Returns the entropy of a degenerate distribution with constant value `mu`.
143-
142+
Returns the [entropy][entropy] of a [degenerate][degenerate-distribution] distribution with constant value `mu`.
144143

145144
```c
146145
double y = stdlib_base_dists_degenerate_entropy( 0.1 );
@@ -191,7 +190,7 @@ int main( void ) {
191190
for ( i = 0; i < 10; i++ ) {
192191
mu = random_uniform( 0.0, 1.0 );
193192
y = stdlib_base_dists_degenerate_entropy( mu );
194-
printf( "µ: %1f. H(X;µ): %lf\n", mu , y );
193+
printf( "µ: %1f. H(X;µ): %lf\n", mu, y );
195194
}
196195
}
197196
```

0 commit comments

Comments
 (0)