Skip to content

Commit 2965f8f

Browse files
committed
chore: minor clean-up
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: passed - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: passed - task: lint_c_examples status: na - task: lint_c_benchmarks status: passed - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent ed5c4cc commit 2965f8f

File tree

20 files changed

+72
-72
lines changed

20 files changed

+72
-72
lines changed

Diff for: lib/node_modules/@stdlib/stats/base/dists/rayleigh/cdf/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ static double random_uniform( const double min, const double max ) {
215215
}
216216
217217
int main( void ) {
218-
double x;
219218
double sigma;
219+
double x;
220220
double y;
221221
int i;
222222

Diff for: lib/node_modules/@stdlib/stats/base/dists/rayleigh/cdf/benchmark/c/benchmark.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ static double random_uniform( const double min, const double max ) {
9393
* @return elapsed time in seconds
9494
*/
9595
static double benchmark( void ) {
96-
double elapsed;
97-
double x[ 100 ];
9896
double sigma[ 100 ];
97+
double x[ 100 ];
98+
double elapsed;
9999
double y;
100100
double t;
101101
int i;

Diff for: lib/node_modules/@stdlib/stats/base/dists/rayleigh/cdf/src/main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ double stdlib_base_dists_rayleigh_cdf( const double x, const double sigma ) {
4444
if ( sigma == 0.0 ) {
4545
return ( x < 0.0 ) ? 0.0 : 1.0;
4646
}
47-
if ( x < 0.0) {
47+
if ( x < 0.0 ) {
4848
return 0.0;
4949
}
5050
s2 = stdlib_base_pow( sigma, 2.0 );

Diff for: lib/node_modules/@stdlib/stats/base/dists/rayleigh/logpdf/test/test.logpdf.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ tape( 'the function evaluates the logpdf for `x` given small scale parameter `si
114114
sigma = smallScale.sigma;
115115
for ( i = 0; i < x.length; i++ ) {
116116
y = logpdf( x[i], sigma[i] );
117-
if ( expected[i] !== null) {
117+
if ( expected[i] !== null ) {
118118
if ( y === expected[i] ) {
119119
t.equal( y, expected[i], 'x: '+x[i]+', sigma: '+sigma[i]+', y: '+y+', expected: '+expected[i] );
120120
} else {

Diff for: lib/node_modules/@stdlib/stats/base/dists/rayleigh/pdf/test/test.native.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ tape( 'the function evaluates the pdf for `x` given small scale parameter `sigma
123123
sigma = smallScale.sigma;
124124
for ( i = 0; i < x.length; i++ ) {
125125
y = pdf( x[i], sigma[i] );
126-
if ( expected[i] !== null) {
126+
if ( expected[i] !== null ) {
127127
if ( y === expected[i] ) {
128128
t.equal( y, expected[i], 'x: '+x[i]+', sigma: '+sigma[i]+', y: '+y+', expected: '+expected[i] );
129129
} else {

Diff for: lib/node_modules/@stdlib/stats/base/dists/rayleigh/pdf/test/test.pdf.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ tape( 'the function evaluates the pdf for `x` given small scale parameter `sigma
114114
sigma = smallScale.sigma;
115115
for ( i = 0; i < x.length; i++ ) {
116116
y = pdf( x[i], sigma[i] );
117-
if ( expected[i] !== null) {
117+
if ( expected[i] !== null ) {
118118
if ( y === expected[i] ) {
119119
t.equal( y, expected[i], 'x: '+x[i]+', sigma: '+sigma[i]+', y: '+y+', expected: '+expected[i] );
120120
} else {

Diff for: lib/node_modules/@stdlib/stats/base/dists/rayleigh/quantile/test/test.quantile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ tape( 'the function evaluates the quantile function at `p` given small scale par
106106
sigma = smallScale.sigma;
107107
for ( i = 0; i < p.length; i++ ) {
108108
y = quantile( p[i], sigma[i] );
109-
if ( expected[i] !== null) {
109+
if ( expected[i] !== null ) {
110110
if ( y === expected[i] ) {
111111
t.equal( y, expected[i], 'p: '+p[i]+', sigma: '+sigma[i]+', y: '+y+', expected: '+expected[i] );
112112
} else {

Diff for: lib/node_modules/@stdlib/stats/base/dists/signrank/quantile/test/test.quantile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ tape( 'the function evaluates the quantile function at `p` given `n` observation
9393
n = data.n;
9494
for ( i = 0; i < p.length; i++ ) {
9595
y = quantile( p[i], n[i] );
96-
if ( expected[i] !== null) {
96+
if ( expected[i] !== null ) {
9797
if ( y === expected[i] ) {
9898
t.equal( y, expected[i], 'p: '+p[i]+', n: '+n[i]+', y: '+y+', expected: '+expected[i] );
9999
} else {

Diff for: lib/node_modules/@stdlib/stats/kstest/lib/marsaglia.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ function pKolmogorov( d, n ) {
155155
var z;
156156

157157
z = new Float64Array( m * m );
158-
for ( i = 0; i < m; i++) {
158+
for ( i = 0; i < m; i++ ) {
159159
for ( j = 0; j < m; j++ ) {
160160
s = 0;
161161
for ( k = 0; k < m; k++ ) {

Diff for: lib/node_modules/@stdlib/utils/any-in-by/test/test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ tape( 'the function throws an error if not provided an object', function test( t
5050
/.*/,
5151
new Date()
5252
];
53-
for (i =0; i < values.length; i++) {
53+
for ( i =0; i < values.length; i++ ) {
5454
t.throws( badValue( values ), TypeError, 'throws a type error when provided '+values[i] );
5555
}
5656
t.end();
@@ -79,7 +79,7 @@ tape( 'the function throws an error if not provided a predicate function', funct
7979
/.*/,
8080
new Date()
8181
];
82-
for (i =0; i < values.length; i++) {
82+
for ( i =0; i < values.length; i++ ) {
8383
t.throws( badValue( values ), TypeError, 'throws a type error when provided '+values[i] );
8484
}
8585
t.end();
@@ -108,7 +108,7 @@ tape( 'the function throws an error if predicate is not a function', function te
108108
/.*/,
109109
new Date()
110110
];
111-
for (i =0; i < values.length; i++) {
111+
for ( i =0; i < values.length; i++ ) {
112112
t.throws( badValue( values ), TypeError, 'throws a type error when provided '+values[i] );
113113
}
114114
t.end();

Diff for: lib/node_modules/@stdlib/utils/curry-right/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ tape( 'the function returns a function', function test( t ) {
135135
t.end();
136136
});
137137

138-
tape( 'the function curries a function', function test( t) {
138+
tape( 'the function curries a function', function test( t ) {
139139
var fcn;
140140
var f;
141141

Diff for: lib/node_modules/@stdlib/utils/curry/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ tape( 'the function returns a function', function test( t ) {
141141
t.end();
142142
});
143143

144-
tape( 'the function curries a function', function test( t) {
144+
tape( 'the function curries a function', function test( t ) {
145145
var fcn;
146146
var f;
147147

Diff for: lib/node_modules/@stdlib/utils/decorate-after/test/test.factory.js

+24-24
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ tape( 'the function returns a function (thisArg)', function test( t ) {
216216
t.end();
217217
});
218218

219-
tape( 'the function decorates a function (nullary, transform)', function test( t) {
219+
tape( 'the function decorates a function (nullary, transform)', function test( t ) {
220220
var fcn;
221221
var v;
222222

@@ -240,7 +240,7 @@ tape( 'the function decorates a function (nullary, transform)', function test( t
240240
}
241241
});
242242

243-
tape( 'the function decorates a function (nullary, pass through)', function test( t) {
243+
tape( 'the function decorates a function (nullary, pass through)', function test( t ) {
244244
var fcn;
245245
var v;
246246

@@ -260,7 +260,7 @@ tape( 'the function decorates a function (nullary, pass through)', function test
260260
}
261261
});
262262

263-
tape( 'the function decorates a function (unary, transform)', function test( t) {
263+
tape( 'the function decorates a function (unary, transform)', function test( t ) {
264264
var fcn;
265265
var v;
266266

@@ -284,7 +284,7 @@ tape( 'the function decorates a function (unary, transform)', function test( t)
284284
}
285285
});
286286

287-
tape( 'the function decorates a function (unary, pass through)', function test( t) {
287+
tape( 'the function decorates a function (unary, pass through)', function test( t ) {
288288
var fcn;
289289
var v;
290290

@@ -304,7 +304,7 @@ tape( 'the function decorates a function (unary, pass through)', function test(
304304
}
305305
});
306306

307-
tape( 'the function decorates a function (binary, transform)', function test( t) {
307+
tape( 'the function decorates a function (binary, transform)', function test( t ) {
308308
var fcn;
309309
var v;
310310

@@ -324,7 +324,7 @@ tape( 'the function decorates a function (binary, transform)', function test( t)
324324
}
325325
});
326326

327-
tape( 'the function decorates a function (binary, pass through)', function test( t) {
327+
tape( 'the function decorates a function (binary, pass through)', function test( t ) {
328328
var fcn;
329329
var v;
330330

@@ -340,7 +340,7 @@ tape( 'the function decorates a function (binary, pass through)', function test(
340340
t.end();
341341
});
342342

343-
tape( 'the function decorates a function (ternary, transform)', function test( t) {
343+
tape( 'the function decorates a function (ternary, transform)', function test( t ) {
344344
var fcn;
345345
var v;
346346

@@ -361,7 +361,7 @@ tape( 'the function decorates a function (ternary, transform)', function test( t
361361
}
362362
});
363363

364-
tape( 'the function decorates a function (ternary, pass through)', function test( t) {
364+
tape( 'the function decorates a function (ternary, pass through)', function test( t ) {
365365
var fcn;
366366
var v;
367367

@@ -378,7 +378,7 @@ tape( 'the function decorates a function (ternary, pass through)', function test
378378
}
379379
});
380380

381-
tape( 'the function decorates a function (quaternary, transform)', function test( t) {
381+
tape( 'the function decorates a function (quaternary, transform)', function test( t ) {
382382
var fcn;
383383
var v;
384384

@@ -399,7 +399,7 @@ tape( 'the function decorates a function (quaternary, transform)', function test
399399
}
400400
});
401401

402-
tape( 'the function decorates a function (quaternary, pass through)', function test( t) {
402+
tape( 'the function decorates a function (quaternary, pass through)', function test( t ) {
403403
var fcn;
404404
var v;
405405

@@ -416,7 +416,7 @@ tape( 'the function decorates a function (quaternary, pass through)', function t
416416
}
417417
});
418418

419-
tape( 'the function decorates a function (quinary, transform)', function test( t) {
419+
tape( 'the function decorates a function (quinary, transform)', function test( t ) {
420420
var fcn;
421421
var v;
422422

@@ -437,7 +437,7 @@ tape( 'the function decorates a function (quinary, transform)', function test( t
437437
}
438438
});
439439

440-
tape( 'the function decorates a function (quinary, pass through)', function test( t) {
440+
tape( 'the function decorates a function (quinary, pass through)', function test( t ) {
441441
var fcn;
442442
var v;
443443

@@ -454,7 +454,7 @@ tape( 'the function decorates a function (quinary, pass through)', function test
454454
}
455455
});
456456

457-
tape( 'the function decorates a function (senary, transform)', function test( t) {
457+
tape( 'the function decorates a function (senary, transform)', function test( t ) {
458458
var fcn;
459459
var v;
460460

@@ -475,7 +475,7 @@ tape( 'the function decorates a function (senary, transform)', function test( t)
475475
}
476476
});
477477

478-
tape( 'the function decorates a function (senary, pass through)', function test( t) {
478+
tape( 'the function decorates a function (senary, pass through)', function test( t ) {
479479
var fcn;
480480
var v;
481481

@@ -492,7 +492,7 @@ tape( 'the function decorates a function (senary, pass through)', function test(
492492
}
493493
});
494494

495-
tape( 'the function decorates a function (septenary, transform)', function test( t) {
495+
tape( 'the function decorates a function (septenary, transform)', function test( t ) {
496496
var fcn;
497497
var v;
498498

@@ -513,7 +513,7 @@ tape( 'the function decorates a function (septenary, transform)', function test(
513513
}
514514
});
515515

516-
tape( 'the function decorates a function (septenary, pass through)', function test( t) {
516+
tape( 'the function decorates a function (septenary, pass through)', function test( t ) {
517517
var fcn;
518518
var v;
519519

@@ -530,7 +530,7 @@ tape( 'the function decorates a function (septenary, pass through)', function te
530530
}
531531
});
532532

533-
tape( 'the function decorates a function (octonary, transform)', function test( t) {
533+
tape( 'the function decorates a function (octonary, transform)', function test( t ) {
534534
var fcn;
535535
var v;
536536

@@ -551,7 +551,7 @@ tape( 'the function decorates a function (octonary, transform)', function test(
551551
}
552552
});
553553

554-
tape( 'the function decorates a function (octonary, pass through)', function test( t) {
554+
tape( 'the function decorates a function (octonary, pass through)', function test( t ) {
555555
var fcn;
556556
var v;
557557

@@ -568,7 +568,7 @@ tape( 'the function decorates a function (octonary, pass through)', function tes
568568
}
569569
});
570570

571-
tape( 'the function decorates a function (novenary, transform)', function test( t) {
571+
tape( 'the function decorates a function (novenary, transform)', function test( t ) {
572572
var fcn;
573573
var v;
574574

@@ -589,7 +589,7 @@ tape( 'the function decorates a function (novenary, transform)', function test(
589589
}
590590
});
591591

592-
tape( 'the function decorates a function (novenary, pass through)', function test( t) {
592+
tape( 'the function decorates a function (novenary, pass through)', function test( t ) {
593593
var fcn;
594594
var v;
595595

@@ -606,7 +606,7 @@ tape( 'the function decorates a function (novenary, pass through)', function tes
606606
}
607607
});
608608

609-
tape( 'the function decorates a function (denary, transform)', function test( t) {
609+
tape( 'the function decorates a function (denary, transform)', function test( t ) {
610610
var fcn;
611611
var v;
612612

@@ -627,7 +627,7 @@ tape( 'the function decorates a function (denary, transform)', function test( t)
627627
}
628628
});
629629

630-
tape( 'the function decorates a function (denary, pass through)', function test( t) {
630+
tape( 'the function decorates a function (denary, pass through)', function test( t ) {
631631
var fcn;
632632
var v;
633633

@@ -644,7 +644,7 @@ tape( 'the function decorates a function (denary, pass through)', function test(
644644
}
645645
});
646646

647-
tape( 'the function decorates a function (multary, transform)', function test( t) {
647+
tape( 'the function decorates a function (multary, transform)', function test( t ) {
648648
var fcn;
649649
var v;
650650

@@ -665,7 +665,7 @@ tape( 'the function decorates a function (multary, transform)', function test( t
665665
}
666666
});
667667

668-
tape( 'the function decorates a function (multary, pass through)', function test( t) {
668+
tape( 'the function decorates a function (multary, pass through)', function test( t ) {
669669
var fcn;
670670
var v;
671671

0 commit comments

Comments
 (0)