Skip to content

Commit 3e049ad

Browse files
committed
verify
--- 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: 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 e982f2d commit 3e049ad

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

lib/node_modules/@stdlib/stats/incr/nanrange/docs/repl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{alias}}()
2-
Returns an accumulator function which incrementally computes a range,
2+
Returns an accumulator function which incrementally computes a range,
33
ignoring `NaN` values.
44

55
If provided a value, the accumulator function returns an updated range. If

lib/node_modules/@stdlib/stats/incr/nanrange/examples/index.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ accumulator = incrnanrange();
3232
// For each simulated datum, update the range...
3333
console.log( '\nValue\tRange\n' );
3434
for ( i = 0; i < 100; i++ ) {
35-
if ( randu() < 0.2 ) {
36-
v = NaN;
37-
} else {
38-
v = randu() * 100.0;
39-
}
40-
range = accumulator( v );
41-
console.log( '%d\t%s', v.toFixed( 4 ), ( range != null && range !== undefined ) ? range.toFixed( 4 ) : 'NaN' );
35+
if ( randu() < 0.2 ) {
36+
v = NaN;
37+
} else {
38+
v = randu() * 100.0;
39+
}
40+
range = accumulator( v );
41+
console.log( '%d\t%s', v.toFixed( 4 ), ( range != null && range !== undefined ) ? range.toFixed( 4 ) : 'NaN' );
4242
}
4343
console.log( '\nFinal range: %d\n', accumulator() );

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
// MODULES //
5151

52-
var main = require( '@stdlib/stats/incr/nanrange/lib/main.js' );
52+
var main = require( './main.js' );
5353

5454

5555
// EXPORTS //

lib/node_modules/@stdlib/stats/incr/nanrange/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@
6767
"incremental",
6868
"accumulator"
6969
]
70-
}
70+
}

0 commit comments

Comments
 (0)