Skip to content

Commit 4c3e368

Browse files
authored
style: disable lint rule
Signed-off-by: Athan <kgryte@gmail.com>
1 parent 1ccd82a commit 4c3e368

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

  • lib/node_modules/@stdlib/math/strided/special/aversin-by/test

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
var tape = require( 'tape' );
2424
var aversin = require( '@stdlib/math/base/special/aversin' );
2525
var uniform = require( '@stdlib/random/base/uniform' ).factory;
26-
var filled = require( '@stdlib/array/base/filled' );
2726
var aversinBy = require( './../lib/ndarray.js' );
2827

2928

@@ -74,15 +73,17 @@ tape( 'the function computes the inverse versed sine via a callback function', f
7473
aversinBy( x.length, x, 1, 0, y, 1, 0, accessor );
7574
t.deepEqual( y, expected, 'deep equal' );
7675

77-
x = filled( void 0, 5 );
76+
// Sparse array:
77+
x = new Array( 5 ); // eslint-disable-line stdlib/no-new-array
7878
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
7979

8080
expected = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
8181

8282
aversinBy( x.length, x, 1, 0, y, 1, 0, accessor );
8383
t.deepEqual( y, expected, 'deep equal' );
8484

85-
x = filled( void 0, 5 );
85+
// Sparse array:
86+
x = new Array( 5 ); // eslint-disable-line stdlib/no-new-array
8687
x[ 2 ] = rand();
8788
y = [ 0.0, 0.0, 0.0, 0.0, 0.0 ];
8889

0 commit comments

Comments
 (0)