Skip to content

Commit 4e0e556

Browse files
fix: revert incorrect array initialization in ndarray fancy test
1 parent de64e30 commit 4e0e556

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/node_modules/@stdlib/ndarray/fancy/test/test.instance.get_nd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ tape( 'a FancyArray constructor returns an instance which has a `get` method whi
7878

7979
function badValue( value, dim ) {
8080
return function badValue() {
81-
var args = [];
81+
var args = new Array( shape.length );
8282
var i;
8383

8484
for ( i = 0; i < args.length; i++ ) {

0 commit comments

Comments
 (0)