Skip to content

Commit f3447c1

Browse files
committed
build: fix function aliases
--- 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: passed - 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 ---
1 parent c05f9db commit f3447c1

File tree

2 files changed

+209
-211
lines changed

2 files changed

+209
-211
lines changed

lib/node_modules/@stdlib/math/strided/ops/sub/scripts/addon.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
* limitations under the License.
1919
*/
2020

21-
/* eslint-disable node/shebang */
22-
2321
'use strict';
2422

2523
// MODULES //
@@ -151,13 +149,13 @@ function main() {
151149
throw new Error( 'unexpected error. Callback arguments must all be the same. Function: `' + fcns[ i ] + '`.' );
152150
}
153151
if ( t1 === FLOAT64_CHAR ) {
154-
f = 'stdlib_base_'+FCN_BASENAME;
152+
f = 'stdlib_base_float64_'+FCN_BASENAME;
155153
} else if ( t1 === FLOAT32_CHAR ) {
156-
f = 'stdlib_base_'+FCN_BASENAME+t1;
154+
f = 'stdlib_base_float32_'+FCN_BASENAME;
157155
} else if ( t1 === COMPLEX64_CHAR ) {
158-
f = 'stdlib_base_c'+FCN_BASENAME+'f';
156+
f = 'stdlib_base_complex64_'+FCN_BASENAME;
159157
} else if ( t1 === COMPLEX128_CHAR ) {
160-
f = 'stdlib_base_c'+FCN_BASENAME;
158+
f = 'stdlib_base_complex128_'+FCN_BASENAME;
161159
} else {
162160
f = FCN_BASENAME+t1;
163161
}

0 commit comments

Comments
 (0)