From a00dcc2762c96124ed1e3183386f234649bb0247 Mon Sep 17 00:00:00 2001 From: ShabiShett07 Date: Wed, 4 Jun 2025 22:59:41 +0530 Subject: [PATCH] docs: change package naming for blas/base/saxpy --- 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../@stdlib/blas/base/saxpy/lib/ndarray.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/node_modules/@stdlib/blas/base/saxpy/lib/ndarray.js b/lib/node_modules/@stdlib/blas/base/saxpy/lib/ndarray.js index 90972ba9d3dd..4fca841c7fb8 100644 --- a/lib/node_modules/@stdlib/blas/base/saxpy/lib/ndarray.js +++ b/lib/node_modules/@stdlib/blas/base/saxpy/lib/ndarray.js @@ -20,7 +20,7 @@ // MODULES // -var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' ); +var f32 = require( '@stdlib/number/float64/base/to-float32' ); // VARIABLES // @@ -71,7 +71,7 @@ function saxpy( N, alpha, x, strideX, offsetX, y, strideY, offsetY ) { // If we have a remainder, run a clean-up loop... if ( m > 0 ) { for ( i = 0; i < m; i++ ) { - y[ iy ] += float64ToFloat32( alpha * x[ ix ] ); + y[ iy ] += f32( alpha * x[ ix ] ); ix += strideX; iy += strideY; } @@ -80,17 +80,17 @@ function saxpy( N, alpha, x, strideX, offsetX, y, strideY, offsetY ) { return y; } for ( i = m; i < N; i += M ) { - y[ iy ] += float64ToFloat32( alpha * x[ ix ] ); - y[ iy+1 ] += float64ToFloat32( alpha * x[ ix+1 ] ); - y[ iy+2 ] += float64ToFloat32( alpha * x[ ix+2 ] ); - y[ iy+3 ] += float64ToFloat32( alpha * x[ ix+3 ] ); + y[ iy ] += f32( alpha * x[ ix ] ); + y[ iy+1 ] += f32( alpha * x[ ix+1 ] ); + y[ iy+2 ] += f32( alpha * x[ ix+2 ] ); + y[ iy+3 ] += f32( alpha * x[ ix+3 ] ); ix += M; iy += M; } return y; } for ( i = 0; i < N; i++ ) { - y[ iy ] += float64ToFloat32( alpha * x[ ix ] ); + y[ iy ] += f32( alpha * x[ ix ] ); ix += strideX; iy += strideY; }