We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d0ff00 commit db742acCopy full SHA for db742ac
1 file changed
lib/node_modules/@stdlib/ndarray/unshift/lib/main.js
@@ -60,8 +60,8 @@ function unshift( x ) {
60
if ( nargs < 2 ) {
61
throw new Error( 'invalid invocation. Must provide at least two arguments.' );
62
}
63
- args = [];
64
dtype = getDType( x );
+ args = [];
65
for ( i = 1; i < nargs; i++ ) {
66
args.push( scalar2ndarray( arguments[ i ], {
67
'dtype': dtype
0 commit comments