From 4ba1914d6b8d65600c2785f2616535ebc47916fb Mon Sep 17 00:00:00 2001 From: headlessNode Date: Fri, 12 Dec 2025 22:11:28 +0500 Subject: [PATCH] fix: rename import to resolve conflict --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../base/unary-reduce-strided1d-dispatch/lib/main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; }