Skip to content

Commit ad5e480

Browse files
committed
bench: fix invocations
--- 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: passed - 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 --- --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: passed - task: run_c_examples status: skipped - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: passed - task: run_c_benchmarks status: skipped - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: failed ---
1 parent 30f0e04 commit ad5e480

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/node_modules/@stdlib/ndarray/base/unary-accumulate/benchmark/benchmark.1d_columnmajor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function createBenchmark( len, shape, xtype ) {
7373

7474
b.tic();
7575
for ( i = 0; i < b.iterations; i++ ) {
76-
out = accumulateUnary( x, 0.0, add );
76+
out = accumulateUnary( [ x ], 0.0, add );
7777
if ( isnan( out ) ) {
7878
b.fail( 'should not return NaN' );
7979
}

lib/node_modules/@stdlib/ndarray/base/unary-accumulate/benchmark/benchmark.1d_rowmajor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function createBenchmark( len, shape, xtype ) {
7373

7474
b.tic();
7575
for ( i = 0; i < b.iterations; i++ ) {
76-
out = accumulateUnary( x, 0.0, add );
76+
out = accumulateUnary( [ x ], 0.0, add );
7777
if ( isnan( out ) ) {
7878
b.fail( 'should not return NaN' );
7979
}

0 commit comments

Comments
 (0)