Skip to content

Commit afdef7b

Browse files
committed
refactor: only import specific method
1 parent a4c5a86 commit afdef7b

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/ndarray/iter/indices/lib

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/ndarray/iter/indices/lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var hasOwnProp = require( '@stdlib/assert/has-own-property' );
2929
var iteratorSymbol = require( '@stdlib/symbol/iterator' );
3030
var zeros = require( '@stdlib/array/base/zeros' );
3131
var numel = require( '@stdlib/ndarray/base/numel' );
32-
var nextCartesianIndex = require( '@stdlib/ndarray/base/next-cartesian-index' );
32+
var nextCartesianIndex = require( '@stdlib/ndarray/base/next-cartesian-index' ).assign;
3333
var format = require( '@stdlib/string/format' );
3434

3535

@@ -148,7 +148,7 @@ function nditerIndices( shape ) {
148148
};
149149
}
150150
if ( i > 0 ) {
151-
idx = nextCartesianIndex.assign( shape, opts.order, idx, dim, idx );
151+
idx = nextCartesianIndex( shape, opts.order, idx, dim, idx );
152152
}
153153
// Return the next set of indices:
154154
return {

0 commit comments

Comments
 (0)