Skip to content

Commit c82d59e

Browse files
chore: minor updates
1 parent 82fb49c commit c82d59e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

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

5151
b.tic();
5252
for ( i = 0; i < b.iterations; i++ ) {
53-
y = entropy( alpha[ i%100 ], beta[ i%100 ] );
53+
y = entropy( alpha[ i % len ], beta[ i % len ] );
5454
if ( isnan( y ) ) {
5555
b.fail( 'should not return NaN' );
5656
}

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

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

6060
b.tic();
6161
for ( i = 0; i < b.iterations; i++ ) {
62-
y = entropy( alpha[ i%100 ], beta[ i%100 ] );
62+
y = entropy( alpha[ i % len ], beta[ i % len ] );
6363
if ( isnan( y ) ) {
6464
b.fail( 'should not return NaN' );
6565
}

lib/node_modules/@stdlib/stats/base/dists/gamma/entropy/include/stdlib/stats/base/dists/gamma/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-
Evaluates the differential entropy for a gamma distribution with shape parameter `alpha` and rate parameter `beta`.
30+
* Evaluates the differential entropy for a gamma distribution with shape parameter `alpha` and rate parameter `beta`.
3131
*/
3232
double stdlib_base_dists_gamma_entropy( const double alpha, const double beta );
3333

0 commit comments

Comments
 (0)