Skip to content

Commit 8fedca1

Browse files
linting fix
1 parent 9ff829e commit 8fedca1

File tree

6 files changed

+10
-9
lines changed

6 files changed

+10
-9
lines changed

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

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) 2023 The 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/nanvariance/docs/types/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2023 The 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.
@@ -16,9 +16,9 @@
1616
* limitations under the License.
1717
*/
1818

19-
// TypeScript Version: 4.1
19+
// TypeScript Version: 4.1
2020

21-
//<reference types="@stdlib/types"/>
21+
// <reference types="@stdlib/types"/>
2222

2323
/**
2424
* If provided a value, returns an updated unbiased sample variance; otherwise, returns the current unbiased sample variance.

lib/node_modules/@stdlib/stats/incr/nanvariance/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) 2023 The 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/nanvariance/lib/index.js

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) 2023 The 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/nanvariance/lib/main.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ var format = require( '@stdlib/string/format' );
8282
* // returns 1.2996
8383
*
8484
* v = accumulator( -5.0 );
85-
* // returns 24.4402
85+
* // returns 33.7796
8686
*
8787
* v = accumulator();
88-
* // returns 24.4402
88+
* // returns 33.7796
8989
*/
9090
function incrnanvariance( mean ) {
9191
var delta;
@@ -162,6 +162,7 @@ function incrnanvariance( mean ) {
162162
}
163163
return M2 / N;
164164
}
165+
// Important: For the known mean case, we're simply summing squared deviations
165166
delta = x - mu;
166167
M2 += delta * delta;
167168
N += 1;

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

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) 2023 The 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.

0 commit comments

Comments
 (0)