Skip to content

Commit ce38e7c

Browse files
committed
fix: resolve lint errors
1 parent b61ed92 commit ce38e7c

File tree

4 files changed

+92
-92
lines changed

4 files changed

+92
-92
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var uniform = require( '@stdlib/random/base/uniform' ).factory;
2525
var isnan = require( '@stdlib/math/base/assert/is-nan' );
2626
var pow = require( '@stdlib/math/base/special/pow' );
2727
var floor = require( '@stdlib/math/base/special/floor' );
28-
var add = require( '@stdlib/math/base/ops/add5' )
28+
var add = require( '@stdlib/math/base/ops/add5' );
2929
var filled5dBy = require( '@stdlib/array/base/filled2d-by' );
3030
var zeros5d = require( '@stdlib/array/base/zeros2d' );
3131
var numel = require( '@stdlib/ndarray/base/numel' );
@@ -80,17 +80,17 @@ function createBenchmark( shape ) {
8080
function benchmark( b ) {
8181
var i0;
8282
var i1;
83-
var i2;
84-
var i3;
85-
var i4;
83+
var i2;
84+
var i3;
85+
var i4;
8686
var i;
8787

8888
b.tic();
8989
for ( i = 0; i < b.iterations; i++ ) {
9090
bquinary5d( arrays, shapes, add );
91-
i4 = i % shapes[ 5 ][ 4 ];
92-
i3 = i % shapes[ 5 ][ 3 ];
93-
i2 = i % shapes[ 5 ][ 2 ];
91+
i4 = i % shapes[ 5 ][ 4 ];
92+
i3 = i % shapes[ 5 ][ 3 ];
93+
i2 = i % shapes[ 5 ][ 2 ];
9494
i1 = i % shapes[ 5 ][ 1 ];
9595
i0 = i % shapes[ 5 ][ 0 ];
9696
if ( isnan( arrays[ 5 ][ i0 ][ i1 ][ i2 ][ i3 ][ i4 ] ) ) {
@@ -100,8 +100,8 @@ function createBenchmark( shape ) {
100100
b.toc();
101101

102102
i4 = i % shapes[ 5 ][ 4 ];
103-
i3 = i % shapes[ 5 ][ 3 ];
104-
i2 = i % shapes[ 5 ][ 2 ];
103+
i3 = i % shapes[ 5 ][ 3 ];
104+
i2 = i % shapes[ 5 ][ 2 ];
105105
i1 = i % shapes[ 5 ][ 1 ];
106106
i0 = i % shapes[ 5 ][ 0 ];
107107
if ( isnan( arrays[ 5 ][ i0 ][ i1 ][ i2 ][ i3 ][ i4 ] ) ) {

lib/node_modules/@stdlib/array/base/broadcasted-quinary5D/examples/index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ var bquinary5d = require( './../lib' );
2525
var add = require( '@stdlib/math/base/ops/add5' );
2626

2727
var shapes = [
28-
[ 1, 1, 1, 1, 3 ],
29-
[ 1, 1, 3, 1, 1 ],
30-
[ 1, 1, 3, 3, 3 ],
31-
[ 1, 1, 1, 1, 3 ],
32-
[ 3, 3, 3, 3, 3 ],
33-
[ 3, 3, 3, 3, 3 ]
28+
[ 1, 1, 1, 1, 3 ],
29+
[ 1, 1, 3, 1, 1 ],
30+
[ 1, 1, 3, 3, 3 ],
31+
[ 1, 1, 1, 1, 3 ],
32+
[ 3, 3, 3, 3, 3 ],
33+
[ 3, 3, 3, 3, 3 ]
3434
];
3535

3636
var x = filled5dBy( shapes[ 0 ], discreteUniform( -100, 100 ) );

lib/node_modules/@stdlib/array/base/broadcasted-quinary5D/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@
6565
],
6666
"__stdlib__": {}
6767
}
68-
68+

lib/node_modules/@stdlib/array/base/broadcasted-quinary5D/test/test.js

Lines changed: 76 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// MODULES //
2222

2323
var tape = require( 'tape' );
24-
var add =require( '@stdlib/math/base/ops/add5')
24+
var add =require( '@stdlib/math/base/ops/add5' );
2525
var zeros5d = require( '@stdlib/array/base/zeros5d' );
2626
var bquinary5d = require( './../lib' );
2727

@@ -45,22 +45,22 @@ tape( 'the function applies a provided callback to broadcasted input arrays and
4545
var u;
4646

4747
shapes = [
48-
[ 2 ],
48+
[ 2 ],
4949
[ 2, 1 ],
5050
[ 1, 1 ],
5151
[ 1 ],
5252
[ 1, 2 ],
53-
[ 2, 2, 2, 2, 2 ]
54-
];
55-
x = [ 1.0, 2.0 ] ;
56-
y = [
57-
[ 3.0 ],
58-
[ 4.0 ]
59-
];
60-
z = [ [ 5.0 ] ];
61-
w = [ 1.0 ];
62-
u = [ [ 1.0, 2.0 ] ] ;
63-
out = zeros5d( shapes[ 5 ] );
53+
[ 2, 2, 2, 2, 2 ]
54+
];
55+
x = [ 1.0, 2.0 ];
56+
y = [
57+
[ 3.0 ],
58+
[ 4.0 ]
59+
];
60+
z = [ [ 5.0 ] ];
61+
w = [ 1.0 ];
62+
u = [ [ 1.0, 2.0 ] ];
63+
out = zeros5d( shapes[ 5 ] );
6464

6565
expected = [
6666
[
@@ -167,30 +167,30 @@ tape( 'the function applies a provided callback to broadcasted input arrays and
167167
]
168168
]
169169
]
170-
];
171-
bquinary5d( [ x, y, z, w, u, out ], shapes, add );
170+
];
171+
bquinary5d( [ x, y, z, w, u, out ], shapes, add );
172172
t.deepEqual( out, expected, 'returns expected value' );
173173

174174
shapes = [
175-
[ 1, 2 ],
175+
[ 1, 2 ],
176176
[ 2 ],
177177
[ 1 ],
178178
[ 2, 2 ],
179179
[ 2, 1 ],
180180
[ 2, 2, 2, 2, 2 ]
181181
];
182-
x = [
183-
[ 1.0, 2.0 ]
184-
];
182+
x = [
183+
[ 1.0, 2.0 ]
184+
];
185185
y = [ 3.0, 4.0 ];
186186
z = [ 5.0 ];
187-
w = [
188-
[ 2.0, 3.0 ],
189-
[ 4.0, 5.0 ]
190-
];
191-
u = [
192-
[ 1.0 ] ,
193-
[ 2.0 ]
187+
w = [
188+
[ 2.0, 3.0 ],
189+
[ 4.0, 5.0 ]
190+
];
191+
u = [
192+
[ 1.0 ],
193+
[ 2.0 ]
194194
];
195195
out = zeros5d( shapes[ 5 ] );
196196

@@ -239,8 +239,8 @@ tape( 'the function applies a provided callback to broadcasted input arrays and
239239
]
240240
]
241241
]
242-
];
243-
bquinary5d( [ x, y, z, w, u, out ], shapes, add );
242+
];
243+
bquinary5d( [ x, y, z, w, u, out ], shapes, add );
244244
t.deepEqual( out, expected, 'returns expected value' );
245245

246246
//Same shapes:
@@ -251,8 +251,8 @@ tape( 'the function applies a provided callback to broadcasted input arrays and
251251
[ 2, 2, 2, 2, 2 ],
252252
[ 2, 2, 2, 2, 2 ],
253253
[ 2, 2, 2, 2, 2 ]
254-
];
255-
x = [
254+
];
255+
x = [
256256
[
257257
[
258258
[
@@ -276,7 +276,7 @@ tape( 'the function applies a provided callback to broadcasted input arrays and
276276
]
277277
]
278278
];
279-
y = [
279+
y = [
280280
[
281281
[
282282
[
@@ -300,7 +300,7 @@ tape( 'the function applies a provided callback to broadcasted input arrays and
300300
]
301301
]
302302
];
303-
z = [
303+
z = [
304304
[
305305
[
306306
[
@@ -324,7 +324,7 @@ tape( 'the function applies a provided callback to broadcasted input arrays and
324324
]
325325
]
326326
];
327-
w = [
327+
w = [
328328
[
329329
[
330330
[
@@ -348,7 +348,7 @@ tape( 'the function applies a provided callback to broadcasted input arrays and
348348
]
349349
]
350350
];
351-
u = [
351+
u = [
352352
[
353353
[
354354
[
@@ -372,9 +372,9 @@ tape( 'the function applies a provided callback to broadcasted input arrays and
372372
]
373373
]
374374
];
375-
out = zeros5d( shapes[ 5 ] );
375+
out = zeros5d( shapes[ 5 ] );
376376

377-
expected = [
377+
expected = [
378378
[
379379
[
380380
[
@@ -398,8 +398,8 @@ tape( 'the function applies a provided callback to broadcasted input arrays and
398398
]
399399
]
400400
];
401-
bquinary5d( [ x, y, z, w, u, out ], shapes, add );
402-
t.deepEqual( out, expected, 'returns expected value' );
401+
bquinary5d( [ x, y, z, w, u, out ], shapes, add );
402+
t.deepEqual( out, expected, 'returns expected value' );
403403

404404
t.end();
405405
});
@@ -423,19 +423,19 @@ tape( 'the function does not invoke a provided callback if provided an output sh
423423
[ 1, 1, 1, 2, 2 ],
424424
[ 0, 2, 2, 2, 2 ]
425425
];
426-
x = [
427-
[
428-
[
429-
[
430-
[ 1.0, 2.0 ],
431-
[ 3.0, 4.0 ]
432-
]
433-
]
434-
]
435-
];
436-
y = x;
437-
z = x;
438-
w = x;
426+
x = [
427+
[
428+
[
429+
[
430+
[ 1.0, 2.0 ],
431+
[ 3.0, 4.0 ]
432+
]
433+
]
434+
]
435+
];
436+
y = x;
437+
z = x;
438+
w = x;
439439
u = x;
440440
out = zeros5d( [ 2, 2, 2, 2, 2 ] );
441441

@@ -479,8 +479,8 @@ tape( 'the function does not invoke a provided callback if provided an output sh
479479
]
480480
];
481481
y = x;
482-
z = x;
483-
w = x;
482+
z = x;
483+
w = x;
484484
u = x;
485485
out = zeros5d( [ 2, 2, 2, 2, 2 ] );
486486

@@ -524,8 +524,8 @@ tape( 'the function does not invoke a provided callback if provided an output sh
524524
]
525525
];
526526
y = x;
527-
z = x;
528-
w = x;
527+
z = x;
528+
w = x;
529529
u = x;
530530
out = zeros5d( [ 2, 2, 2, 2, 2 ] );
531531

@@ -569,8 +569,8 @@ tape( 'the function does not invoke a provided callback if provided an output sh
569569
]
570570
];
571571
y = x;
572-
z = x;
573-
w = x;
572+
z = x;
573+
w = x;
574574
u = x;
575575
out = zeros5d( [ 2, 2, 2, 2, 2 ] );
576576

@@ -596,26 +596,26 @@ tape( 'the function does not invoke a provided callback if provided an output sh
596596
var u;
597597

598598
shapes = [
599-
[ 1, 1, 1, 2, 2 ],
600-
[ 1, 1, 1, 2, 2 ],
601-
[ 1, 1, 1, 2, 2 ],
602-
[ 1, 1, 1, 2, 2 ],
603-
[ 1, 1, 1, 2, 2 ],
604-
[ 2, 2, 2, 2, 0 ]
599+
[ 1, 1, 1, 2, 2 ],
600+
[ 1, 1, 1, 2, 2 ],
601+
[ 1, 1, 1, 2, 2 ],
602+
[ 1, 1, 1, 2, 2 ],
603+
[ 1, 1, 1, 2, 2 ],
604+
[ 2, 2, 2, 2, 0 ]
605+
];
606+
x = [
607+
[
608+
[
609+
[
610+
[ 1.0, 2.0 ],
611+
[ 3.0, 4.0 ]
612+
]
613+
]
614+
]
605615
];
606-
x = [
607-
[
608-
[
609-
[
610-
[ 1.0, 2.0 ] ,
611-
[ 3.0, 4.0 ]
612-
]
613-
]
614-
]
615-
];
616-
y= x;
617-
z = x;
618-
w = x;
616+
y= x;
617+
z = x;
618+
w = x;
619619
u = x;
620620
out = zeros5d( [ 2, 2, 2, 2, 2 ] );
621621

0 commit comments

Comments
 (0)