Skip to content

Commit 7a6295d

Browse files
chore: minor updates
1 parent c3ea40d commit 7a6295d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/node_modules/@stdlib/stats/base/dists/chisquare/mean/benchmark/benchmark.js

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

4646
b.tic();
4747
for ( i = 0; i < b.iterations; i++ ) {
48-
y = mean( k[ i%100 ] );
48+
y = mean( k[ i % len ] );
4949
if ( isnan( y ) ) {
5050
b.fail( 'should not return NaN' );
5151
}

lib/node_modules/@stdlib/stats/base/dists/chisquare/mean/benchmark/benchmark.native.js

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

5555
b.tic();
5656
for ( i = 0; i < b.iterations; i++ ) {
57-
y = mean( k[ i%100 ] );
57+
y = mean( k[ i % len ] );
5858
if ( isnan( y ) ) {
5959
b.fail( 'should not return NaN' );
6060
}

lib/node_modules/@stdlib/stats/base/dists/chisquare/mean/benchmark/c/benchmark.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ static double benchmark( void ) {
105105

106106
t = tic();
107107
for ( i = 0; i < ITERATIONS; i++ ) {
108-
y = stdlib_base_dists_chisquare_mean( k[ i%100 ] );
108+
y = stdlib_base_dists_chisquare_mean( k[ i % 100 ] );
109109
if ( y != y ) {
110110
printf( "should not return NaN\n" );
111111
break;

0 commit comments

Comments
 (0)