Skip to content

Commit c0a893b

Browse files
fix: benchmark lint errors
1 parent e9042aa commit c0a893b

File tree

1 file changed

+8
-8
lines changed
  • lib/node_modules/@stdlib/array/base/broadcasted-quinary4d/benchmark

1 file changed

+8
-8
lines changed

lib/node_modules/@stdlib/array/base/broadcasted-quinary4d/benchmark/benchmark.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,15 @@ function createBenchmark( shape ) {
9494
function benchmark( b ) {
9595
var i0;
9696
var i1;
97-
var i2;
98-
var i3;
97+
var i2;
98+
var i3;
9999
var i;
100100

101101
b.tic();
102102
for ( i = 0; i < b.iterations; i++ ) {
103103
bquinary4d( arrays, shapes, add );
104-
i3 = i % shapes[ 1 ][ 0 ];
105-
i2 = i % shapes[ 1 ][ 1 ];
104+
i3 = i % shapes[ 1 ][ 0 ];
105+
i2 = i % shapes[ 1 ][ 1 ];
106106
i1 = i % shapes[ 1 ][ 2 ];
107107
i0 = i % shapes[ 1 ][ 3 ];
108108
if ( isnan( arrays[ 5 ][ i0 ][ i1 ][ i2 ][ i3 ] ) ) {
@@ -111,10 +111,10 @@ function createBenchmark( shape ) {
111111
}
112112
b.toc();
113113

114-
i3 = i % shapes[ 1 ][ 0 ];
115-
i2 = i % shapes[ 1 ][ 1 ];
116-
i1 = i % shapes[ 1 ][ 2 ];
117-
i0 = i % shapes[ 1 ][ 3 ];
114+
i3 = i % shapes[ 1 ][ 0 ];
115+
i2 = i % shapes[ 1 ][ 1 ];
116+
i1 = i % shapes[ 1 ][ 2 ];
117+
i0 = i % shapes[ 1 ][ 3 ];
118118
if ( isnan( arrays[ 5 ][ i0 ][ i1 ][ i2 ][ i3 ] ) ) {
119119
b.fail( 'should not return NaN' );
120120
}

0 commit comments

Comments
 (0)