Skip to content

Commit dbff122

Browse files
committed
chore: minor clean-up
--- 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: passed - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: na - 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 ---
1 parent 37d2210 commit dbff122

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

lib/node_modules/@stdlib/stats/incr/nanminmax/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,9 @@ for ( i = 0; i < 100; i++ ) {
108108
} else {
109109
v = randu() * 100.0;
110110
}
111+
accumulator( v );
111112
}
112-
console.log( accumulator( v ) );
113+
console.log( accumulator() );
113114
```
114115

115116
</section>

lib/node_modules/@stdlib/stats/incr/nanminmax/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ type accumulator = ( x?: number ) => ArrayLike<number> | null;
3737
* @returns accumulator function
3838
*
3939
* @example
40-
* var accumulator = incrminmax();
40+
* var accumulator = incrnanminmax();
4141
*
4242
* var mm = accumulator();
4343
* // returns null

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* @module @stdlib/stats/incr/nanminmax
2525
*
2626
* @example
27-
* var incrminmax = require( '@stdlib/stats/incr/nanminmax' );
27+
* var incrnanminmax = require( '@stdlib/stats/incr/nanminmax' );
2828
*
2929
* var accumulator = incrnanminmax();
3030
*

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ tape( 'if provided `NaN`, the accumulated minimum and maximum values remain unch
217217
acc( data[ i ] );
218218
}
219219
v = acc();
220-
t.equal( v[ 0 ], 1.0, false, 'returns expected value' );
221-
t.equal( v[ 1 ], 7.0, false, 'returns expected value' );
220+
t.equal( v[ 0 ], 1.0, 'returns expected value' );
221+
t.equal( v[ 1 ], 7.0, 'returns expected value' );
222222
t.end();
223223
});

0 commit comments

Comments
 (0)