Skip to content

Commit f76ae56

Browse files
committed
chore: clean-up
1 parent f66733b commit f76ae56

File tree

5 files changed

+9
-36
lines changed

5 files changed

+9
-36
lines changed

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

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ limitations under the License.
2020

2121
# incrnanmminmax
2222

23-
> Compute a moving minimum and maximum incrementally ignoring `NaN` values.
23+
> Compute a moving minimum and maximum incrementally, ignoring `NaN` values.
2424
2525
<section class="usage">
2626

@@ -132,17 +132,6 @@ console.log( accumulator() );
132132

133133
<section class="related">
134134

135-
* * *
136-
137-
## See Also
138-
139-
- <span class="package-name">[`@stdlib/stats/incr/max`][@stdlib/stats/incr/max]</span><span class="delimiter">: </span><span class="description">compute a maximum value incrementally.</span>
140-
- <span class="package-name">[`@stdlib/stats/incr/min`][@stdlib/stats/incr/min]</span><span class="delimiter">: </span><span class="description">compute a minimum value incrementally.</span>
141-
- <span class="package-name">[`@stdlib/stats/incr/mmax`][@stdlib/stats/incr/mmax]</span><span class="delimiter">: </span><span class="description">compute a moving maximum incrementally.</span>
142-
- <span class="package-name">[`@stdlib/stats/incr/minmax`][@stdlib/stats/incr/minmax]</span><span class="delimiter">: </span><span class="description">compute a minimum and maximum incrementally.</span>
143-
- <span class="package-name">[`@stdlib/stats/incr/mmin`][@stdlib/stats/incr/mmin]</span><span class="delimiter">: </span><span class="description">compute a moving minimum incrementally.</span>
144-
- <span class="package-name">[`@stdlib/stats/incr/mrange`][@stdlib/stats/incr/mrange]</span><span class="delimiter">: </span><span class="description">compute a moving range incrementally.</span>
145-
146135
</section>
147136

148137
<!-- /.related -->
@@ -151,22 +140,6 @@ console.log( accumulator() );
151140

152141
<section class="links">
153142

154-
<!-- <related-links> -->
155-
156-
[@stdlib/stats/incr/max]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/incr/max
157-
158-
[@stdlib/stats/incr/min]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/incr/min
159-
160-
[@stdlib/stats/incr/mmax]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/incr/mmax
161-
162-
[@stdlib/stats/incr/minmax]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/incr/minmax
163-
164-
[@stdlib/stats/incr/mmin]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/incr/mmin
165-
166-
[@stdlib/stats/incr/mrange]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/incr/mrange
167-
168-
<!-- </related-links> -->
169-
170143
</section>
171144

172145
<!-- /.links -->

lib/node_modules/@stdlib/stats/incr/nanmminmax/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ bench( pkg, function benchmark( b ) {
3333
var i;
3434
b.tic();
3535
for ( i = 0; i < b.iterations; i++ ) {
36-
f = incrnanmminmax( (i%5)+1 );
36+
f = incrnanmminmax( ( i%5 ) + 1 );
3737
if ( typeof f !== 'function' ) {
3838
b.fail( 'should return a function' );
3939
}

lib/node_modules/@stdlib/stats/incr/nanmminmax/lib/main.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ var incrmminmax = require( '@stdlib/stats/incr/mminmax' );
5656
* mm = accumulator();
5757
* // returns [ -5.0, 5.0 ]
5858
*/
59-
function incrnanmminmax(out, window) {
59+
function incrnanmminmax( out, window ) {
6060
var mminmax;
61-
if (arguments.length === 1) {
61+
if ( arguments.length === 1 ) {
6262
mminmax = incrmminmax( out );
6363
} else {
6464
mminmax = incrmminmax( out, window );
@@ -72,11 +72,11 @@ function incrnanmminmax(out, window) {
7272
* @param {number} [x] - new value
7373
* @returns {(ArrayLikeObject|null)} min/max array or null
7474
*/
75-
function accumulator(x) {
76-
if (arguments.length === 0 || isnan(x)) {
75+
function accumulator( x ) {
76+
if (arguments.length === 0 || isnan( x )) {
7777
return mminmax();
7878
}
79-
return mminmax(x);
79+
return mminmax( x );
8080
}
8181
}
8282

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@stdlib/stats/incr/nanmminmax",
33
"version": "0.0.0",
4-
"description": "Compute a moving minimum and maximum incrementally.",
4+
"description": "Compute a moving minimum and maximum incrementally, ignoring `NaN` values.",
55
"license": "Apache-2.0",
66
"author": {
77
"name": "The Stdlib Authors",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ tape( 'the function throws an error if not provided a positive integer for the w
5353
];
5454

5555
for ( i = 0; i < values.length; i++ ) {
56-
t.throws( badValue( values[i] ), TypeError, 'throws an error when provided '+values[i] );
56+
t.throws( badValue( values[ i ] ), TypeError, 'throws an error when provided '+values[ i ] );
5757
}
5858
t.end();
5959

0 commit comments

Comments
 (0)