From 33ffa395ad695977aca2785901ebc132a77882e4 Mon Sep 17 00:00:00 2001 From: ShreelaxmiHegde Date: Sat, 10 Jan 2026 02:03:17 +0000 Subject: [PATCH 1/2] fix: js lint error --- .../@stdlib/math/strided/special/avercos-by/test/test.main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/node_modules/@stdlib/math/strided/special/avercos-by/test/test.main.js b/lib/node_modules/@stdlib/math/strided/special/avercos-by/test/test.main.js index 35d956ce07b4..953ed97de366 100644 --- a/lib/node_modules/@stdlib/math/strided/special/avercos-by/test/test.main.js +++ b/lib/node_modules/@stdlib/math/strided/special/avercos-by/test/test.main.js @@ -74,6 +74,7 @@ tape( 'the function computes the inverse versed cosine via a callback function', avercosBy( x.length, x, 1, y, 1, accessor ); t.deepEqual( y, expected, 'deep equal' ); + // eslint-disable-next-line x = new Array( 5 ); // sparse array y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ]; @@ -82,6 +83,7 @@ tape( 'the function computes the inverse versed cosine via a callback function', avercosBy( x.length, x, 1, y, 1, accessor ); t.deepEqual( y, expected, 'deep equal' ); + // eslint-disable-next-line x = new Array( 5 ); // sparse array x[ 2 ] = rand(); y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ]; From da625e1b15be2441de96d4736b60ed0fe80eea95 Mon Sep 17 00:00:00 2001 From: Athan Date: Fri, 9 Jan 2026 18:39:54 -0800 Subject: [PATCH 2/2] Apply suggestions from code review Signed-off-by: Athan --- .../@stdlib/math/strided/special/avercos-by/test/test.main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/math/strided/special/avercos-by/test/test.main.js b/lib/node_modules/@stdlib/math/strided/special/avercos-by/test/test.main.js index 953ed97de366..467ff2cf1222 100644 --- a/lib/node_modules/@stdlib/math/strided/special/avercos-by/test/test.main.js +++ b/lib/node_modules/@stdlib/math/strided/special/avercos-by/test/test.main.js @@ -74,7 +74,7 @@ tape( 'the function computes the inverse versed cosine via a callback function', avercosBy( x.length, x, 1, y, 1, accessor ); t.deepEqual( y, expected, 'deep equal' ); - // eslint-disable-next-line + // eslint-disable-next-line stdlib/no-new-array x = new Array( 5 ); // sparse array y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ]; @@ -83,7 +83,7 @@ tape( 'the function computes the inverse versed cosine via a callback function', avercosBy( x.length, x, 1, y, 1, accessor ); t.deepEqual( y, expected, 'deep equal' ); - // eslint-disable-next-line + // eslint-disable-next-line stdlib/no-new-array x = new Array( 5 ); // sparse array x[ 2 ] = rand(); y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];