Skip to content

Commit fada70f

Browse files
committed
added module
1 parent 86b1cdc commit fada70f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/node_modules/@stdlib/stats/incr/nanmrss/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2025The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ function incrnanmrss( W ) {
7676
* @returns {(number|null)} residual sum of squares or null
7777
*/
7878
function accumulator( x, y ) {
79-
if ( arguments.length === 0 ){
79+
if ( arguments.length === 0 ) {
8080
return mrss();
8181
}
8282
if ( isnan( x ) || isnan( y ) ) {
8383
return mrss();
8484
}
85-
return mrss( (isnan(x) ? 0 : x), (isnan(y) ? 0 : y) );
85+
return mrss( ( ( isnan( x ) ) ? 0 : x), ( ( isnan( y ) ) ? 0 : y ) );
8686
}
8787
}
8888

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ tape( 'the accumulator function computes a moving residual sum of squares increm
8282
data = [
8383
[ 2.0, 3.0 ],
8484
[ NaN, 3.0 ],
85-
[ 2.0, NaN ],
85+
[ 2.0, NaN ],
8686
[ 3.0, -1.0 ],
8787
[ 2.0, 5.0 ],
8888
[ 4.0, -4.0 ],

0 commit comments

Comments
 (0)