Skip to content

Commit bf821ca

Browse files
authored
chore: propagate recent fixes to sibling packages
PR-URL: #11696 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 80a434f commit bf821ca

42 files changed

Lines changed: 106 additions & 2 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

lib/node_modules/@stdlib/math/strided/ops/add-by/test/test.main.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,10 @@ tape( 'the function performs element-wise addition via a callback function', fun
7777
addBy( x.length, x, 1, y, 1, z, 1, accessor );
7878
t.deepEqual( z, expected, 'deep equal' );
7979

80+
// eslint-disable-next-line stdlib/no-new-array
8081
x = new Array( 5 ); // sparse array
82+
83+
// eslint-disable-next-line stdlib/no-new-array
8184
y = new Array( 5 ); // sparse array
8285
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
8386

@@ -86,8 +89,11 @@ tape( 'the function performs element-wise addition via a callback function', fun
8689
addBy( x.length, x, 1, y, 1, z, 1, accessor );
8790
t.deepEqual( z, expected, 'deep equal' );
8891

92+
// eslint-disable-next-line stdlib/no-new-array
8993
x = new Array( 5 ); // sparse array
9094
x[ 2 ] = rand();
95+
96+
// eslint-disable-next-line stdlib/no-new-array
9197
y = new Array( 5 ); // sparse array
9298
y[ 2 ] = rand();
9399
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

lib/node_modules/@stdlib/math/strided/ops/add-by/test/test.ndarray.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,10 @@ tape( 'the function performs element-wise addition via a callback function', fun
7676
addBy( x.length, x, 1, 0, y, 1, 0, z, 1, 0, accessor );
7777
t.deepEqual( z, expected, 'deep equal' );
7878

79+
// eslint-disable-next-line stdlib/no-new-array
7980
x = new Array( 5 ); // sparse array
81+
82+
// eslint-disable-next-line stdlib/no-new-array
8083
y = new Array( 5 ); // sparse array
8184
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
8285

@@ -85,8 +88,11 @@ tape( 'the function performs element-wise addition via a callback function', fun
8588
addBy( x.length, x, 1, 0, y, 1, 0, z, 1, 0, accessor );
8689
t.deepEqual( z, expected, 'deep equal' );
8790

91+
// eslint-disable-next-line stdlib/no-new-array
8892
x = new Array( 5 ); // sparse array
8993
x[ 2 ] = rand();
94+
95+
// eslint-disable-next-line stdlib/no-new-array
9096
y = new Array( 5 ); // sparse array
9197
y[ 2 ] = rand();
9298
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

lib/node_modules/@stdlib/math/strided/ops/mul-by/test/test.main.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,10 @@ tape( 'the function performs element-wise multiplication via a callback function
7777
mulBy( x.length, x, 1, y, 1, z, 1, accessor );
7878
t.deepEqual( z, expected, 'deep equal' );
7979

80+
// eslint-disable-next-line stdlib/no-new-array
8081
x = new Array( 5 ); // sparse array
82+
83+
// eslint-disable-next-line stdlib/no-new-array
8184
y = new Array( 5 ); // sparse array
8285
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
8386

@@ -86,8 +89,11 @@ tape( 'the function performs element-wise multiplication via a callback function
8689
mulBy( x.length, x, 1, y, 1, z, 1, accessor );
8790
t.deepEqual( z, expected, 'deep equal' );
8891

92+
// eslint-disable-next-line stdlib/no-new-array
8993
x = new Array( 5 ); // sparse array
9094
x[ 2 ] = rand();
95+
96+
// eslint-disable-next-line stdlib/no-new-array
9197
y = new Array( 5 ); // sparse array
9298
y[ 2 ] = rand();
9399
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

lib/node_modules/@stdlib/math/strided/ops/mul-by/test/test.ndarray.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,10 @@ tape( 'the function performs element-wise multiplication via a callback function
7676
mulBy( x.length, x, 1, 0, y, 1, 0, z, 1, 0, accessor );
7777
t.deepEqual( z, expected, 'deep equal' );
7878

79+
// eslint-disable-next-line stdlib/no-new-array
7980
x = new Array( 5 ); // sparse array
81+
82+
// eslint-disable-next-line stdlib/no-new-array
8083
y = new Array( 5 ); // sparse array
8184
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
8285

@@ -85,8 +88,11 @@ tape( 'the function performs element-wise multiplication via a callback function
8588
mulBy( x.length, x, 1, 0, y, 1, 0, z, 1, 0, accessor );
8689
t.deepEqual( z, expected, 'deep equal' );
8790

91+
// eslint-disable-next-line stdlib/no-new-array
8892
x = new Array( 5 ); // sparse array
8993
x[ 2 ] = rand();
94+
95+
// eslint-disable-next-line stdlib/no-new-array
9096
y = new Array( 5 ); // sparse array
9197
y[ 2 ] = rand();
9298
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

lib/node_modules/@stdlib/math/strided/ops/sub-by/test/test.main.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,10 @@ tape( 'the function performs element-wise subtraction via a callback function',
7777
subBy( x.length, x, 1, y, 1, z, 1, accessor );
7878
t.deepEqual( z, expected, 'deep equal' );
7979

80+
// eslint-disable-next-line stdlib/no-new-array
8081
x = new Array( 5 ); // sparse array
82+
83+
// eslint-disable-next-line stdlib/no-new-array
8184
y = new Array( 5 ); // sparse array
8285
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
8386

@@ -86,8 +89,11 @@ tape( 'the function performs element-wise subtraction via a callback function',
8689
subBy( x.length, x, 1, y, 1, z, 1, accessor );
8790
t.deepEqual( z, expected, 'deep equal' );
8891

92+
// eslint-disable-next-line stdlib/no-new-array
8993
x = new Array( 5 ); // sparse array
9094
x[ 2 ] = rand();
95+
96+
// eslint-disable-next-line stdlib/no-new-array
9197
y = new Array( 5 ); // sparse array
9298
y[ 2 ] = rand();
9399
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

lib/node_modules/@stdlib/math/strided/ops/sub-by/test/test.ndarray.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,10 @@ tape( 'the function performs element-wise subtraction via a callback function',
7676
subBy( x.length, x, 1, 0, y, 1, 0, z, 1, 0, accessor );
7777
t.deepEqual( z, expected, 'deep equal' );
7878

79+
// eslint-disable-next-line stdlib/no-new-array
7980
x = new Array( 5 ); // sparse array
81+
82+
// eslint-disable-next-line stdlib/no-new-array
8083
y = new Array( 5 ); // sparse array
8184
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
8285

@@ -85,8 +88,11 @@ tape( 'the function performs element-wise subtraction via a callback function',
8588
subBy( x.length, x, 1, 0, y, 1, 0, z, 1, 0, accessor );
8689
t.deepEqual( z, expected, 'deep equal' );
8790

91+
// eslint-disable-next-line stdlib/no-new-array
8892
x = new Array( 5 ); // sparse array
8993
x[ 2 ] = rand();
94+
95+
// eslint-disable-next-line stdlib/no-new-array
9096
y = new Array( 5 ); // sparse array
9197
y[ 2 ] = rand();
9298
z = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

lib/node_modules/@stdlib/math/strided/special/abs-by/test/test.ndarray.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ tape( 'the function computes the absolute value of each indexed strided array el
6161
absBy( x.length, x, 1, 0, y, 1, 0, accessor );
6262
t.deepEqual( y, expected, 'deep equal' );
6363

64+
// eslint-disable-next-line stdlib/no-new-array
6465
x = new Array( 5 ); // sparse array
6566
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
6667

@@ -69,6 +70,7 @@ tape( 'the function computes the absolute value of each indexed strided array el
6970
absBy( x.length, x, 1, 0, y, 1, 0, accessor );
7071
t.deepEqual( y, expected, 'deep equal' );
7172

73+
// eslint-disable-next-line stdlib/no-new-array
7274
x = new Array( 5 ); // sparse array
7375
x[ 2 ] = -3.0;
7476
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

lib/node_modules/@stdlib/math/strided/special/abs2-by/test/test.main.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ tape( 'the function computes the squared absolute value of each indexed strided
7474
abs2By( x.length, x, 1, y, 1, accessor );
7575
t.deepEqual( y, expected, 'deep equal' );
7676

77+
// eslint-disable-next-line stdlib/no-new-array
7778
x = new Array( 5 ); // sparse array
7879
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
7980

@@ -82,6 +83,7 @@ tape( 'the function computes the squared absolute value of each indexed strided
8283
abs2By( x.length, x, 1, y, 1, accessor );
8384
t.deepEqual( y, expected, 'deep equal' );
8485

86+
// eslint-disable-next-line stdlib/no-new-array
8587
x = new Array( 5 ); // sparse array
8688
x[ 2 ] = rand();
8789
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

lib/node_modules/@stdlib/math/strided/special/abs2-by/test/test.ndarray.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ tape( 'the function computes the squared absolute value of each indexed strided
7373
abs2By( x.length, x, 1, 0, y, 1, 0, accessor );
7474
t.deepEqual( y, expected, 'deep equal' );
7575

76+
// eslint-disable-next-line stdlib/no-new-array
7677
x = new Array( 5 ); // sparse array
7778
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
7879

@@ -81,6 +82,7 @@ tape( 'the function computes the squared absolute value of each indexed strided
8182
abs2By( x.length, x, 1, 0, y, 1, 0, accessor );
8283
t.deepEqual( y, expected, 'deep equal' );
8384

85+
// eslint-disable-next-line stdlib/no-new-array
8486
x = new Array( 5 ); // sparse array
8587
x[ 2 ] = rand();
8688
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

lib/node_modules/@stdlib/math/strided/special/acos-by/test/test.main.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ tape( 'the function computes the arccosine via a callback function', function te
7474
acosBy( x.length, x, 1, y, 1, accessor );
7575
t.deepEqual( y, expected, 'deep equal' );
7676

77+
// eslint-disable-next-line stdlib/no-new-array
7778
x = new Array( 5 ); // sparse array
7879
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
7980

@@ -82,6 +83,7 @@ tape( 'the function computes the arccosine via a callback function', function te
8283
acosBy( x.length, x, 1, y, 1, accessor );
8384
t.deepEqual( y, expected, 'deep equal' );
8485

86+
// eslint-disable-next-line stdlib/no-new-array
8587
x = new Array( 5 ); // sparse array
8688
x[ 2 ] = rand();
8789
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];

0 commit comments

Comments
 (0)