Skip to content

Commit 33e3d9f

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: na - task: lint_package_json status: na - task: lint_repl_help status: passed - 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: na - 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: passed - task: lint_typescript_tests status: passed - task: lint_license_headers status: passed ---
1 parent 2e38ad1 commit 33e3d9f

7 files changed

Lines changed: 13 additions & 13 deletions

File tree

lib/node_modules/@stdlib/stats/anova1/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ bench( pkg, function benchmark( b ) {
4848

4949
b.tic();
5050
for ( i = 0; i < b.iterations; i++ ) {
51-
vals[ i % vals.length ] = ( randu()*50.0 ) + ( 10.0*group[ i ] );
51+
vals[ i % vals.length ] = ( randu()*50.0 ) + ( 10.0*group[ i % group.length ] );
5252
result = anova1( vals, group );
5353
if ( typeof result !== 'object' ) {
5454
b.fail( 'should return an object' );

lib/node_modules/@stdlib/stats/array/nanmskmidrange/docs/repl.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626

2727
Examples
2828
--------
29-
> var x = [ 1.0, -2.0, 4.0, 2.0, NaN ];
30-
> var mask = [ 0, 0, 1, 0, 0 ];
29+
> var x = [ 1.0, -2.0, 4.0, 2.0, NaN, NaN ];
30+
> var mask = [ 0, 0, 1, 0, 0, 0 ];
3131
> {{alias}}( x, mask )
3232
0.0
3333

lib/node_modules/@stdlib/stats/array/nanmskmidrange/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var format = require( '@stdlib/string/format' );
3131

3232
// VARIABLES //
3333

34-
var IDTYPES = dtypes( 'real_and_generic' );
34+
var IDTYPES = dtypes( 'real_and_generic' ); // note: applicable for both the input and mask arrays
3535
var GENERIC_DTYPE = 'generic';
3636

3737

lib/node_modules/@stdlib/stats/base/dists/wald/kurtosis/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
// TypeScript Version: 4.1
2020

2121
/**
22-
* Returns the excess kurtosis for a Wald distribution with mean `mu` and shape parameter `lambda`.
22+
* Returns the excess kurtosis of a Wald distribution with mean `mu` and shape parameter `lambda`.
2323
*
2424
* ## Notes
2525
*

lib/node_modules/@stdlib/stats/base/dists/wald/variance/lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535

3636
// MODULES //
3737

38-
var main = require( './main.js' );
38+
var variance = require( './main.js' );
3939

4040

4141
// EXPORTS //
4242

43-
module.exports = main;
43+
module.exports = variance;

lib/node_modules/@stdlib/stats/base/dists/wald/variance/test/test.native.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ var PINF = require( '@stdlib/constants/float64/pinf' );
2929
var NINF = require( '@stdlib/constants/float64/ninf' );
3030

3131

32+
// FIXTURES //
33+
34+
var data = require( './fixtures/julia/data.json' );
35+
36+
3237
// VARIABLES //
3338

3439
var variance = tryRequire( resolve( __dirname, './../lib/native.js' ) );
@@ -37,11 +42,6 @@ var opts = {
3742
};
3843

3944

40-
// FIXTURES //
41-
42-
var data = require( './fixtures/julia/data.json' );
43-
44-
4545
// TESTS //
4646

4747
tape( 'main export is a function', opts, function test( t ) {

lib/node_modules/@stdlib/stats/base/ndarray/srangeabs/benchmark/c/benchmark.length.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ static double benchmark( int iterations, int len ) {
113113
double elapsed;
114114
int64_t ndims;
115115
float *data;
116-
float v;
117116
double t;
117+
float v;
118118
int i;
119119

120120
ndims = 1;

0 commit comments

Comments
 (0)