Skip to content

Commit 05d1434

Browse files
committed
docs: update example values in uniform entropy documentation
1 parent 429301d commit 05d1434

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ for ( i = 0; i < 10; i++ ) {
164164
Evaluates the [entropy][entropy] of a [uniform][uniform-distribution] distribution with `a` the minimum support and `b` the maximum support.
165165

166166
```c
167-
double out = stdlib_base_dists_uniform_entropy( 4.0, 12.0 );
168-
// returns ~2.079
167+
double out = stdlib_base_dists_uniform_entropy( 2.0, 8.0 );
168+
// returns ~1.792
169169
```
170170

171171
The function accepts the following arguments:

0 commit comments

Comments
 (0)