Skip to content

Commit 8775511

Browse files
chore: fix JavaScript lint errors
PR-URL: #11794 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com> Closes: #11750
1 parent 31b9282 commit 8775511

1 file changed

Lines changed: 13 additions & 4 deletions

File tree

lib/node_modules/@stdlib/stats/kstest/test/test.marsaglia.js

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,20 @@ tape( 'the function correctly evaluates the CDF of D_n', function test( t ) {
4343
var n;
4444
var i;
4545

46-
d = [ 0.3, -0.1, 1.5, 0.5, 0.1, 0.1, 0.05, 0.05, 0.8, 0.274 ]; // eslint-disable-line array-element-newline
47-
n = [ 10.0, 10.0, 10.0, 20.0, 10.0, 20.0, 300.0, 80.0, 1.0, 10.0 ]; // eslint-disable-line array-element-newline
46+
d = [ 0.3, -0.1, 1.5, 0.5, 0.1, 0.1, 0.05, 0.05, 0.8, 0.274 ];
47+
n = [ 10.0, 10.0, 10.0, 20.0, 10.0, 20.0, 300.0, 80.0, 1.0, 10.0 ];
4848
expected = [
49-
0.7294644, 0.0, 1.0, 0.9999621, 0.0003629,
50-
0.0237449, 0.5725584, 0.0175789, 0.6, 0.6284796
49+
0.7294644,
50+
0.0,
51+
1.0,
52+
0.9999621,
53+
0.0003629,
54+
55+
0.0237449,
56+
0.5725584,
57+
0.0175789,
58+
0.6,
59+
0.6284796
5160
];
5261
for ( i = 0; i < expected.length; i++ ) {
5362
actual = pKolmogorov( d[ i ], n[ i ] ).toFixed( 7 );

0 commit comments

Comments
 (0)