Skip to content

Commit c860aae

Browse files
authored
test: fix signature
Signed-off-by: Athan <[email protected]>
1 parent 1e8a5be commit c860aae

File tree

1 file changed

+1
-5
lines changed
  • lib/node_modules/@stdlib/ndarray/flatten/test

1 file changed

+1
-5
lines changed

lib/node_modules/@stdlib/ndarray/flatten/test/test.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,13 +219,9 @@ tape( 'the function throws an error if provided an invalid `dtype` option', func
219219
var opts = {
220220
'dtype': value
221221
};
222-
flatten( zeros( [ 2 ] ), opts, scale );
222+
flatten( zeros( [ 2 ] ), opts );
223223
};
224224
}
225-
226-
function scale( z ) {
227-
return z * 10.0;
228-
}
229225
});
230226

231227
tape( 'by default, the function flattens all dimensions of a provided input ndarray in lexicographic order (row-major, contiguous)', function test( t ) {

0 commit comments

Comments
 (0)