Skip to content

Commit ef8c552

Browse files
chore: minor updates
1 parent be998ee commit ef8c552

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/node_modules/@stdlib/stats/base/dists/betaprime/logpdf/benchmark/benchmark.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ bench( pkg, function benchmark( b ) {
5555

5656
b.tic();
5757
for ( i = 0; i < b.iterations; i++ ) {
58-
y = logpdf( x[ i%100 ], alpha[ i%100 ], beta[ i%100 ] );
58+
y = logpdf( x[ i % len ], alpha[ i % len ], beta[ i % len ] );
5959
if ( isnan( y ) ) {
6060
b.fail( 'should not return NaN' );
6161
}
@@ -89,7 +89,7 @@ bench( pkg+':factory', function benchmark( b ) {
8989

9090
b.tic();
9191
for ( i = 0; i < b.iterations; i++ ) {
92-
y = mylogpdf( x[ i%100 ] );
92+
y = mylogpdf( x[ i % len ] );
9393
if ( isnan( y ) ) {
9494
b.fail( 'should not return NaN' );
9595
}

lib/node_modules/@stdlib/stats/base/dists/betaprime/logpdf/benchmark/benchmark.native.js

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

6565
b.tic();
6666
for ( i = 0; i < b.iterations; i++ ) {
67-
y = logpdf( x[ i%100 ], alpha[ i%100 ], beta[ i%100 ] );
67+
y = logpdf( x[ i % len ], alpha[ i % len ], beta[ i % len ] );
6868
if ( isnan( y ) ) {
6969
b.fail( 'should not return NaN' );
7070
}

0 commit comments

Comments
 (0)