Skip to content

Commit c06accf

Browse files
committed
chore: resolve lint error
--- 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: na - 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: missing_dependencies - 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 --- --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: na - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: na - task: run_c_benchmarks status: na - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: na - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: na --- --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: na - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: na - task: run_c_benchmarks status: na - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: na - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: na ---
1 parent 7e20875 commit c06accf

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

lib/node_modules/@stdlib/blas/base/zscal/include/stdlib/blas/base/zscal.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ extern "C" {
3535
/**
3636
* Scales a double-precision complex floating-point vector by a double-precision complex floating-point constant.
3737
*/
38-
void API_SUFFIX(c_zscal)( const CBLAS_INT N, const stdlib_complex128_t za, void *ZX, const CBLAS_INT strideX );
38+
void API_SUFFIX(c_zscal)( const CBLAS_INT N, const stdlib_complex128_t alpha, void *X, const CBLAS_INT strideX );
3939

4040
/**
4141
* Scales a double-precision complex floating-point vector by a double-precision complex floating-point constant using alternative indexing semantics.
4242
*/
43-
void API_SUFFIX(c_zscal_ndarray)( const CBLAS_INT N, const stdlib_complex128_t za, void *ZX, const CBLAS_INT strideX, const CBLAS_INT offsetX );
43+
void API_SUFFIX(c_zscal_ndarray)( const CBLAS_INT N, const stdlib_complex128_t alpha, void *X, const CBLAS_INT strideX, const CBLAS_INT offsetX );
4444

4545
#ifdef __cplusplus
4646
}

lib/node_modules/@stdlib/blas/base/zscal/include/stdlib/blas/base/zscal_cblas.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.
@@ -35,7 +35,7 @@ extern "C" {
3535
/**
3636
* Scales a double-precision complex floating-point vector by a double-precision complex floating-point constant.
3737
*/
38-
void API_SUFFIX(cblas_zscal)( const CBLAS_INT N, const stdlib_complex128_t za, void *ZX, const CBLAS_INT strideX );
38+
void API_SUFFIX(cblas_zscal)( const CBLAS_INT N, const stdlib_complex128_t alpha, void *X, const CBLAS_INT strideX );
3939

4040
#ifdef __cplusplus
4141
}

lib/node_modules/@stdlib/blas/base/zscal/src/addon.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ static napi_value addon( napi_env env, napi_callback_info info ) {
3636
STDLIB_NAPI_ARGV( env, info, argv, argc, 4 );
3737
STDLIB_NAPI_ARGV_INT64( env, N, argv, 0 );
3838
STDLIB_NAPI_ARGV_INT64( env, strideX, argv, 3 );
39-
STDLIB_NAPI_ARGV_COMPLEX128( env, za, argv, 1 );
40-
STDLIB_NAPI_ARGV_STRIDED_COMPLEX128ARRAY( env, ZX, N, strideX, argv, 2 );
41-
API_SUFFIX(c_zscal)( N, za, (void *)ZX, strideX );
39+
STDLIB_NAPI_ARGV_COMPLEX128( env, alpha, argv, 1 );
40+
STDLIB_NAPI_ARGV_STRIDED_COMPLEX128ARRAY( env, X, N, strideX, argv, 2 );
41+
API_SUFFIX(c_zscal)( N, alpha, (void *)X, strideX );
4242
return NULL;
4343
}
4444

@@ -54,9 +54,9 @@ static napi_value addon_method( napi_env env, napi_callback_info info ) {
5454
STDLIB_NAPI_ARGV_INT64( env, N, argv, 0 );
5555
STDLIB_NAPI_ARGV_INT64( env, strideX, argv, 3 );
5656
STDLIB_NAPI_ARGV_INT64( env, offsetX, argv, 4 );
57-
STDLIB_NAPI_ARGV_COMPLEX128( env, za, argv, 1 );
58-
STDLIB_NAPI_ARGV_STRIDED_COMPLEX128ARRAY( env, ZX, N, strideX, argv, 2 );
59-
API_SUFFIX(c_zscal_ndarray)( N, za, (void *)ZX, strideX, offsetX );
57+
STDLIB_NAPI_ARGV_COMPLEX128( env, alpha, argv, 1 );
58+
STDLIB_NAPI_ARGV_STRIDED_COMPLEX128ARRAY( env, X, N, strideX, argv, 2 );
59+
API_SUFFIX(c_zscal_ndarray)( N, alpha, (void *)X, strideX, offsetX );
6060
return NULL;
6161
}
6262

0 commit comments

Comments
 (0)