Skip to content

Commit d141f10

Browse files
committed
edit
--- 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: passed ---
1 parent a06fb8b commit d141f10

File tree

1 file changed

+2
-1
lines changed
  • lib/node_modules/@stdlib/stats/incr/nanrange/test

1 file changed

+2
-1
lines changed

lib/node_modules/@stdlib/stats/incr/nanrange/test/test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ var tape = require( 'tape' );
2424
var isnan = require( '@stdlib/math/base/assert/is-nan' );
2525
var incrnanrange = require( './../lib' );
2626

27+
2728
// TESTS //
2829

2930
tape( 'main export is a function', function test( t ) {
@@ -74,7 +75,7 @@ tape( 'the accumulator function incrementally computes a range while ignoring Na
7475
min = d;
7576
}
7677
}
77-
expected.push( max !== null && min !== null ? max - min : null );
78+
expected.push( ( max !== null && min !== null ) ? ( max - min ) : null );
7879
actual.push( acc( d ) );
7980
}
8081
t.deepEqual( actual, expected, 'returns expected incremental results' );

0 commit comments

Comments
 (0)