Skip to content

Commit 2770abc

Browse files
committed
Removed spaces and unused ESLint disable directive
1 parent f162f39 commit 2770abc

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

lib/node_modules/@stdlib/assert/is-probability/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818

19-
/* eslint-disable no-new-wrappers, no-undefined, no-empty-function */
19+
/* eslint-disable no-undefined, no-empty-function */
2020

2121
'use strict';
2222

lib/node_modules/@stdlib/blas/base/isamax/test/test.ndarray.native.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ tape( 'the function finds the index of the element with the maximum absolute val
6666
idx = isamax( 4, x, 1, 0 );
6767
t.strictEqual( idx, expected, 'returns expected value' );
6868

69-
x = new Float32Array( [
69+
x = new Float32Array([
7070
0.2, // 1
7171
-0.6, // 2
7272
0.3, // 3
7373
5.0,
7474
5.0
75-
] );
75+
]);
7676
expected = 1;
7777

7878
idx = isamax( 3, x, 1, 0 );
@@ -86,11 +86,11 @@ tape( 'if provided an `N` parameter less than `1`, the function returns `-1`', o
8686
var idx;
8787
var x;
8888

89-
x = new Float32Array( [
89+
x = new Float32Array([
9090
1.0,
9191
2.0,
9292
3.0
93-
] );
93+
]);
9494
expected = -1;
9595

9696
idx = isamax( 0, x, 1, 0 );
@@ -104,11 +104,11 @@ tape( 'if provided an `N` parameter equal to `1`, the function returns `0`', opt
104104
var idx;
105105
var x;
106106

107-
x = new Float32Array( [
107+
x = new Float32Array([
108108
1.0,
109109
2.0,
110110
3.0
111-
] );
111+
]);
112112
expected = 0;
113113

114114
idx = isamax( 1, x, 1, 1 );

0 commit comments

Comments
 (0)