Skip to content

Commit a0ae68f

Browse files
gururaj1512kgryte
andauthored
style: resolve lint errors in strided/base/map-by2
PR-URL: #6093 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com> Signed-off-by: Gururaj Gurram <143020143+gururaj1512@users.noreply.github.com> Signed-off-by: Athan Reines <kgryte@gmail.com>
1 parent 21cdb49 commit a0ae68f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/node_modules/@stdlib/strided/base/map-by2/test/test.main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ tape( 'the function applies a binary function to indexed strided array elements
7272
mapBy2( x.length, x, 1, y, 1, z, 1, add, accessor );
7373
t.deepEqual( z, expected, 'deep equal' );
7474

75-
x = new Array( 5 ); // sparse array
75+
// Create a sparse array:
76+
x = new Array( 5 ); // eslint-disable-line stdlib/no-new-array
7677
y = [ 1.0, 1.0, 2.0, 2.0, 3.0 ];
7778
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
7879

lib/node_modules/@stdlib/strided/base/map-by2/test/test.ndarray.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ tape( 'the function applies a binary function to indexed strided array elements
7272
mapBy2( x.length, x, 1, 0, y, 1, 0, z, 1, 0, add, accessor );
7373
t.deepEqual( z, expected, 'deep equal' );
7474

75-
x = new Array( 5 ); // sparse array
75+
// Create a sparse array:
76+
x = new Array( 5 ); // eslint-disable-line stdlib/no-new-array
7677
y = [ 1.0, 1.0, 2.0, 2.0, 3.0 ];
7778
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
7879

0 commit comments

Comments
 (0)