diff --git a/lib/node_modules/@stdlib/ndarray/base/unary-reduce-strided1d-dispatch/lib/main.js b/lib/node_modules/@stdlib/ndarray/base/unary-reduce-strided1d-dispatch/lib/main.js index 8cece1d1cb7a..8353263304b9 100644 --- a/lib/node_modules/@stdlib/ndarray/base/unary-reduce-strided1d-dispatch/lib/main.js +++ b/lib/node_modules/@stdlib/ndarray/base/unary-reduce-strided1d-dispatch/lib/main.js @@ -44,7 +44,7 @@ var getShape = require( '@stdlib/ndarray/shape' ); // note: non-base accessor is var ndims = require( '@stdlib/ndarray/ndims' ); var getDType = require( '@stdlib/ndarray/base/dtype' ); var getOrder = require( '@stdlib/ndarray/base/order' ); -var assign = require( '@stdlib/ndarray/base/assign' ); +var ndarrayAssign = require( '@stdlib/ndarray/base/assign' ); var baseEmpty = require( '@stdlib/ndarray/base/empty' ); var empty = require( '@stdlib/ndarray/empty' ); var indicesComplement = require( '@stdlib/array/base/indices-complement' ); @@ -296,7 +296,7 @@ setReadOnly( UnaryStrided1dDispatch.prototype, 'apply', function apply( x ) { if ( xdt !== dt ) { // TODO: replace the following logic with a call to `ndarray/base/(?maybe-)(cast|convert|copy)` or similar utility tmp = baseEmpty( dt, shx, getOrder( x ) ); - assign( [ x, tmp ] ); + ndarrayAssign( [ x, tmp ] ); args[ 0 ] = tmp; xdt = dt; } @@ -447,7 +447,7 @@ setReadOnly( UnaryStrided1dDispatch.prototype, 'assign', function assign( x ) { if ( xdt !== dt ) { // TODO: replace the following logic with a call to `ndarray/base/(?maybe-)(cast|convert|copy)` or similar utility tmp = baseEmpty( dt, getShape( x ), getOrder( x ) ); - assign( [ x, tmp ] ); + ndarrayAssign( [ x, tmp ] ); args[ 0 ] = tmp; xdt = dt; }