Skip to content

style: resolve lint errors in strided/base/map-by2 #6093

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 17, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -72,7 +72,8 @@ tape( 'the function applies a binary function to indexed strided array elements
mapBy2( x.length, x, 1, y, 1, z, 1, add, accessor );
t.deepEqual( z, expected, 'deep equal' );

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

Original file line number Diff line number Diff line change
@@ -72,7 +72,8 @@ tape( 'the function applies a binary function to indexed strided array elements
mapBy2( x.length, x, 1, 0, y, 1, 0, z, 1, 0, add, accessor );
t.deepEqual( z, expected, 'deep equal' );

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