File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
lib/node_modules/@stdlib/ndarray/iter/columns/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' );
2828var hasOwnProp = require ( '@stdlib/assert/has-own-property' ) ;
2929var iteratorSymbol = require ( '@stdlib/symbol/iterator' ) ;
3030var zeros = require ( '@stdlib/array/base/zeros' ) ;
31+ var getShape = require ( '@stdlib/ndarray/shape' ) ;
3132var numel = require ( '@stdlib/ndarray/base/numel' ) ;
3233var slice = require ( '@stdlib/ndarray/base/slice' ) ;
3334var nextCartesianIndex = require ( '@stdlib/ndarray/base/next-cartesian-index' ) . assign ;
@@ -114,7 +115,7 @@ function nditerColumns( x ) {
114115 }
115116 }
116117 // Retrieve input array meta data:
117- shape = x . shape ;
118+ shape = getShape ( x ) ;
118119 ndims = shape . length ;
119120
120121 // Ensure that the input array has sufficient dimensions...
You can’t perform that action at this time.
0 commit comments