Skip to content

Commit 54af4d0

Browse files
committed
fix: resolve lint errors
1 parent ff5b210 commit 54af4d0

File tree

4 files changed

+4
-19
lines changed

4 files changed

+4
-19
lines changed

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

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,6 @@ console.log( accumulator() );
137137

138138
<section class="related">
139139

140-
* * *
141-
142-
## See Also
143-
144-
- <span class="package-name">[`@stdlib/stats/incr/mae`][@stdlib/stats/incr/mae]</span><span class="delimiter">: </span><span class="description">compute the mean absolute error (MAE) incrementally.</span>
145-
- <span class="package-name">[`@stdlib/stats/incr/mean`][@stdlib/stats/incr/mean]</span><span class="delimiter">: </span><span class="description">compute an arithmetic mean incrementally.</span>
146-
- <span class="package-name">[`@stdlib/stats/incr/mme`][@stdlib/stats/incr/mme]</span><span class="delimiter">: </span><span class="description">compute a moving mean error (ME) incrementally.</span>
147-
148140
</section>
149141

150142
<!-- /.related -->
@@ -157,12 +149,6 @@ console.log( accumulator() );
157149

158150
<!-- <related-links> -->
159151

160-
[@stdlib/stats/incr/mae]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/incr/mae
161-
162-
[@stdlib/stats/incr/mean]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/incr/mean
163-
164-
[@stdlib/stats/incr/mme]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/stats/incr/mme
165-
166152
<!-- </related-links> -->
167153

168154
</section>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222

2323
var bench = require( '@stdlib/bench' );
2424
var randu = require( '@stdlib/random/base/randu' );
25-
var pkg = require( './../package.json' ).name;
2625
var incrnanme = require( '@stdlib/stats/incr/nanme/lib' );
26+
var pkg = require( './../package.json' ).name;
2727

2828

2929
// MAIN //

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ accumulator = incrnanme();
3333
// For each simulated datum, update the mean error...
3434
console.log( '\nValue\tValue\tMean\n' );
3535
for ( i = 0; i < 100; i++ ) {
36-
if( randu() < 0.2 ){
36+
if ( randu() < 0.2 ) {
3737
v1 = NaN;
3838
v2 = NaN;
3939
} else {

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ tape( 'the accumulator function incrementally computes the mean error', function
6060
var y;
6161
var i;
6262

63-
6463
data = [
6564
[ 2.0, 3.0 ],
6665
[ 3.0, -1.0 ],
@@ -78,10 +77,10 @@ tape( 'the accumulator function incrementally computes the mean error', function
7877
for ( i = 0; i < N; i++ ) {
7978
x = data[ i ][ 0 ];
8079
y = data[ i ][ 1 ];
81-
if ( isnan( x ) === false && isnan( y ) === false ){
80+
if ( isnan( x ) === false && isnan( y ) === false ) {
8281
sum += ( y-x );
8382
count++;
84-
}
83+
}
8584
expected = count>0 ? sum / count : null;
8685
actual = acc( x, y );
8786
if ( actual === expected ) {

0 commit comments

Comments
 (0)