Skip to content

Commit f76f304

Browse files
committed
fix: minor lint
1 parent 23d2d33 commit f76f304

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
var bench = require( '@stdlib/bench' );
2424
var isnan = require( '@stdlib/math/base/assert/is-nan' );
2525
var pow = require( '@stdlib/math/base/special/pow' );
26+
var format = require( '@stdlib/string/format' );
2627
var uniform = require( '@stdlib/random/array/uniform' );
2728
var bernoulli = require( '@stdlib/random/array/bernoulli' );
2829
var ndarray = require( '@stdlib/ndarray/base/ctor' );
@@ -50,7 +51,6 @@ function createBenchmark( len ) {
5051
var mask;
5152
var mbuf;
5253
var x;
53-
var i;
5454

5555
x = uniform( len, -50.0, 50.0, options );
5656
x = new ndarray( options.dtype, x, [ len ], [ 1 ], 0, 'row-major' );
@@ -110,7 +110,7 @@ function main() {
110110
for ( i = min; i <= max; i++ ) {
111111
len = pow( 10, i );
112112
f = createBenchmark( len );
113-
bench( pkg+':dtype='+options.dtype+',len='+len, f );
113+
bench( format( '%s:dtype=%s,len=%u', pkg, options.dtype, len ), f );
114114
}
115115
}
116116

lib/node_modules/@stdlib/stats/mskmax/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
* var mbuf = new Uint8Array( [ 0, 0, 0, 0, 1, 0 ] ); // eslint-disable-line id-length
4949
*
5050
* // Create a mask ndarray:
51-
* var mask = new ndarray( 'uint8', mbuf, shape, strides, offset, 'row-major' );
51+
* var mask = new ndarray( 'uint8', mbuf, shape, strides, offset, 'row-major' ); // cspell:disable-line
5252
*
5353
* // Perform reduction:
5454
* var out = mskmax( x, mask );

0 commit comments

Comments
 (0)