We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c142624 commit c539bd1Copy full SHA for c539bd1
lib/node_modules/@stdlib/ndarray/base/ndarraylike2object/lib/main.js
@@ -80,7 +80,7 @@ function ndarraylike2object( x ) {
80
var dt;
81
82
xbuf = getData( x );
83
- sh = getShape( x );
+ sh = getShape( x, true );
84
dt = getDType( x );
85
86
bool = isAccessorArray( xbuf );
@@ -91,7 +91,7 @@ function ndarraylike2object( x ) {
91
'data': xbuf,
92
'length': numel( sh ),
93
'shape': sh,
94
- 'strides': getStrides( x ),
+ 'strides': getStrides( x, true ),
95
'offset': getOffset( x ),
96
'order': getOrder( x ),
97
'accessorProtocol': bool,
0 commit comments