Skip to content

Commit 7936ee8

Browse files
authored
fix: Update lib/node_modules/@stdlib/stats/base/dists/rayleigh/logcdf/benchmark/benchmark.js
Signed-off-by: Vinit Pandit <[email protected]>
1 parent 5e4f360 commit 7936ee8

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/rayleigh/logcdf/benchmark

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/stats/base/dists/rayleigh/logcdf/benchmark/benchmark.js

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

4949
b.tic();
5050
for ( i = 0; i < b.iterations; i++ ) {
51-
y = logcdf( x[i % 100], sigma[ i % 100 ] );
51+
y = logcdf( x[ i % len ], sigma[ i % len ] );
5252
if ( isnan( y ) ) {
5353
b.fail( 'should not return NaN' );
5454
}

0 commit comments

Comments
 (0)