Skip to content

Commit bfabd7d

Browse files
authored
refactor: apply suggestions from code review
Signed-off-by: Muhammad Haris <[email protected]>
1 parent 4b84791 commit bfabd7d

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/ndarray/base/every/test

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/ndarray/base/every/test/test.1d.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ tape( 'the function tests whether every element in a 1-dimensional ndarray is tr
7474
var actual;
7575
var x;
7676

77-
x = ndarray( 'complex128', toAccessorArray( zeros( 6, 'complex128' ) ), [ 4 ], [ 1 ], 1, 'row-major' );
77+
x = ndarray( 'complex128', zeros( 6, 'complex128' ), [ 4 ], [ 1 ], 1, 'row-major' );
7878

7979
actual = every( [ x ] );
8080
t.strictEqual( actual, false, 'returns expected value' );
8181

82-
x = ndarray( 'complex128', toAccessorArray( ones( 6, 'complex128' ) ), [ 4 ], [ 1 ], 1, 'row-major' );
82+
x = ndarray( 'complex128', ones( 6, 'complex128' ), [ 4 ], [ 1 ], 1, 'row-major' );
8383

8484
actual = every( [ x ] );
8585
t.strictEqual( actual, true, 'returns expected value' );

0 commit comments

Comments
 (0)