Skip to content

Commit dbfbb36

Browse files
committed
fix: update isnan checks to use appropriate parameters
--- 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: 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 353ca8c commit dbfbb36

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/arcsine/ctor/benchmark

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/stats/base/dists/arcsine/ctor/benchmark/benchmark.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ bench( pkg+'::set:a', function benchmark( bm ) {
112112
}
113113
}
114114
bm.toc();
115-
if ( isnan( y ) ) {
115+
if ( isnan( dist.a ) ) {
116116
bm.fail( 'should not return NaN' );
117117
}
118118
bm.pass( 'benchmark finished' );
@@ -170,7 +170,7 @@ bench( pkg+'::set:b', function benchmark( bm ) {
170170
}
171171
}
172172
bm.toc();
173-
if ( isnan( y ) ) {
173+
if ( isnan( dist.b ) ) {
174174
bm.fail( 'should not return NaN' );
175175
}
176176
bm.pass( 'benchmark finished' );

0 commit comments

Comments
 (0)