From 8d6b72b8146ee2e1f7c8beeb99ea85de1511d761 Mon Sep 17 00:00:00 2001 From: Samarth Kolarkar Date: Fri, 26 Dec 2025 16:57:14 +0530 Subject: [PATCH] fix: correct variable name in benchmark for --- 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: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../@stdlib/number/float32/base/signbit/benchmark/benchmark.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/number/float32/base/signbit/benchmark/benchmark.js b/lib/node_modules/@stdlib/number/float32/base/signbit/benchmark/benchmark.js index e8d424290301..75364a56387e 100644 --- a/lib/node_modules/@stdlib/number/float32/base/signbit/benchmark/benchmark.js +++ b/lib/node_modules/@stdlib/number/float32/base/signbit/benchmark/benchmark.js @@ -39,7 +39,7 @@ bench( pkg, function benchmark( b ) { for ( i = 0; i < b.iterations; i++ ) { x = ( randu()*1.0e7 ) - 5.0e6; y = signbitf( toFloat32( x ) ); - if ( typeof bool !== 'boolean' ) { + if ( typeof y !== 'boolean' ) { b.fail( 'should return a boolean' ); } }