Skip to content

Commit fe37ec3

Browse files
Update lib/node_modules/@stdlib/stats/base/dists/triangular/cdf/benchmark/benchmark.js
Co-authored-by: Karan Anand <[email protected]> Signed-off-by: Ahmed_Kashkoush <[email protected]>
1 parent 77f5301 commit fe37ec3

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/triangular/cdf/benchmark

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/stats/base/dists/triangular/cdf/benchmark/benchmark.js

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

5555
b.tic();
5656
for ( i = 0; i < b.iterations; i++ ) {
57-
y = cdf( x[ i ], min[ i % len ], max[ i % len ], mode[ i % len ] );
57+
y = cdf( x[ i % len ], min[ i % len ], max[ i % len ], mode[ i % len ] );
5858
if ( isnan( y ) ) {
5959
b.fail( 'should not return NaN' );
6060
}

0 commit comments

Comments
 (0)