File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
lib/node_modules/@stdlib/ndarray/iter/rows/lib Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ var isReadOnly = require( '@stdlib/ndarray/base/assert/is-read-only' );
28
28
var hasOwnProp = require ( '@stdlib/assert/has-own-property' ) ;
29
29
var iteratorSymbol = require ( '@stdlib/symbol/iterator' ) ;
30
30
var zeros = require ( '@stdlib/array/base/zeros' ) ;
31
+ var getShape = require ( '@stdlib/ndarray/shape' ) ;
31
32
var numel = require ( '@stdlib/ndarray/base/numel' ) ;
32
33
var slice = require ( '@stdlib/ndarray/base/slice' ) ;
33
34
var nextCartesianIndex = require ( '@stdlib/ndarray/base/next-cartesian-index' ) . assign ;
@@ -114,7 +115,7 @@ function nditerRows( x ) {
114
115
}
115
116
}
116
117
// Retrieve input array meta data:
117
- shape = x . shape ;
118
+ shape = getShape ( x ) ;
118
119
ndims = shape . length ;
119
120
120
121
// Ensure that the input array has sufficient dimensions...
You can’t perform that action at this time.
0 commit comments