Skip to content

Commit c539bd1

Browse files
committed
fix: add missing argument
1 parent c142624 commit c539bd1

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/ndarray/base/ndarraylike2object/lib/main.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function ndarraylike2object( x ) {
8080
var dt;
8181

8282
xbuf = getData( x );
83-
sh = getShape( x );
83+
sh = getShape( x, true );
8484
dt = getDType( x );
8585

8686
bool = isAccessorArray( xbuf );
@@ -91,7 +91,7 @@ function ndarraylike2object( x ) {
9191
'data': xbuf,
9292
'length': numel( sh ),
9393
'shape': sh,
94-
'strides': getStrides( x ),
94+
'strides': getStrides( x, true ),
9595
'offset': getOffset( x ),
9696
'order': getOrder( x ),
9797
'accessorProtocol': bool,

0 commit comments

Comments
 (0)