Skip to content

Commit a85e521

Browse files
chore: minor updates
1 parent 701f8de commit a85e521

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
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
@@ -139,7 +139,7 @@ for ( i = 0; i < 10; i++ ) {
139139

140140
#### stdlib_base_dists_degenerate_entropy( mu )
141141

142-
Returns the differential entropy for a degenerate distribution with constant value `mu`.
142+
Returns the entropy of a degenerate distribution with constant value `mu`.
143143

144144

145145
```c

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ bench( pkg, function benchmark( b ) {
4444

4545
b.tic();
4646
for ( i = 0; i < b.iterations; i++ ) {
47-
y = entropy( mu[ i%100 ] );
47+
y = entropy( mu[ i % len ] );
4848
if ( isnan( y ) ) {
4949
b.fail( 'should not return NaN' );
5050
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ bench( pkg+'::native', opts, function benchmark( b ) {
5353

5454
b.tic();
5555
for ( i = 0; i < b.iterations; i++ ) {
56-
y = entropy( mu[ i%100 ] );
56+
y = entropy( mu[ i % len ] );
5757
if ( isnan( y ) ) {
5858
b.fail( 'should not return NaN' );
5959
}

lib/node_modules/@stdlib/stats/base/dists/degenerate/entropy/include/stdlib/stats/base/dists/degenerate/entropy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ extern "C" {
2727
#endif
2828

2929
/**
30-
Returns the differential entropy for a degenerate distribution with constant value `mu`.
30+
* Returns the entropy of a degenerate distribution with constant value `mu`.
3131
*/
3232
double stdlib_base_dists_degenerate_entropy( const double mu );
3333

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include "stdlib/math/base/assert/is_nan.h"
2121

2222
/**
23-
* Returns the differential entropy for a degenerate distribution with constant value `mu`.
23+
* Returns the entropy of a degenerate distribution with constant value `mu`.
2424
*
2525
* @param mu constant value of distribution
2626
* @returns Entropy

0 commit comments

Comments
 (0)