Skip to content

Commit e8e1a88

Browse files
committed
spacing issues
1 parent dd19b04 commit e8e1a88

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

  • lib/node_modules/@stdlib/blas/ext/base/ndarray/dsumkbn2

lib/node_modules/@stdlib/blas/ext/base/ndarray/dsumkbn2/docs/types/test.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,32 +24,32 @@ import dsumkbn2 = require( './index' );
2424

2525
// The function returns a number...
2626
{
27-
const x = zeros([ 10 ], {
27+
const x = zeros( [ 10 ], {
2828
'dtype': 'float64'
29-
});
29+
} );
3030

31-
dsumkbn2([ x ]); // $ExpectType number
31+
dsumkbn2( [ x ] ); // $ExpectType number
3232
}
3333

3434
// The compiler throws an error if the function is provided a first argument which is not an array of ndarrays...
3535
{
36-
dsumkbn2('10'); // $ExpectError
37-
dsumkbn2(10); // $ExpectError
38-
dsumkbn2(true); // $ExpectError
39-
dsumkbn2(false); // $ExpectError
40-
dsumkbn2(null); // $ExpectError
41-
dsumkbn2(undefined); // $ExpectError
42-
dsumkbn2([]); // $ExpectError
43-
dsumkbn2({}); // $ExpectError
44-
dsumkbn2((x: number): number => x); // $ExpectError
36+
dsumkbn2( '10' ); // $ExpectError
37+
dsumkbn2( 10 ); // $ExpectError
38+
dsumkbn2( true ); // $ExpectError
39+
dsumkbn2( false ); // $ExpectError
40+
dsumkbn2( null ); // $ExpectError
41+
dsumkbn2( undefined ); // $ExpectError
42+
dsumkbn2( [] ); // $ExpectError
43+
dsumkbn2( {} ); // $ExpectError
44+
dsumkbn2( ( x: number ): number => x ); // $ExpectError
4545
}
4646

4747
// The compiler throws an error if the function is provided an unsupported number of arguments...
4848
{
49-
const x = zeros([ 10 ], {
49+
const x = zeros( [ 10 ], {
5050
'dtype': 'float64'
51-
});
51+
} );
5252

5353
dsumkbn2(); // $ExpectError
54-
dsumkbn2([ x ], {}); // $ExpectError
54+
dsumkbn2( [ x ], {} ); // $ExpectError
5555
}

lib/node_modules/@stdlib/blas/ext/base/ndarray/dsumkbn2/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ var strided = require( '@stdlib/blas/ext/base/dsumkbn2' ).ndarray;
4747
*/
4848
function dsumkbn2( arrays ) {
4949
var x = arrays[ 0 ];
50-
return strided(numelDimension(x, 0), getData(x), getStride(x, 0), getOffset(x)); // eslint-disable-line max-len
50+
return strided( numelDimension( x, 0 ), getData( x ), getStride( x, 0 ), getOffset( x ) ); // eslint-disable-line max-len
5151
}
5252

5353

0 commit comments

Comments
 (0)