Skip to content

Commit 9d585df

Browse files
committed
Reorder expressions
1 parent 0ea8b47 commit 9d585df

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/ndarray/base/memoized-ctor/lib

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/ndarray/base/memoized-ctor/lib/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ function ctor( dtype, ndims, options ) {
8585
ctors[ ndims-1 ] = f;
8686
}
8787
} else {
88+
f = baseCtor( dtype, ndims, opts );
8889
for ( i = len+1; i < ndims; i++ ) {
8990
ctors.push( false );
9091
}
91-
f = baseCtor( dtype, ndims, opts );
9292
ctors.push( f );
9393
}
9494
return f;

0 commit comments

Comments
 (0)