Skip to content

Commit 2ea848b

Browse files
committed
style: update to use tabs for indentation
--- 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: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: passed - task: lint_c_examples status: passed - task: lint_c_benchmarks status: na - 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 a72a67a commit 2ea848b

File tree

31 files changed

+211
-211
lines changed

31 files changed

+211
-211
lines changed

lib/node_modules/@stdlib/blas/ext/base/sapxsumkbn2/src/addon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
static napi_value addon( napi_env env, napi_callback_info info ) {
3636
STDLIB_NAPI_ARGV( env, info, argv, argc, 4 );
3737
STDLIB_NAPI_ARGV_INT64( env, N, argv, 0 );
38-
STDLIB_NAPI_ARGV_FLOAT( env, alpha, argv, 1)
38+
STDLIB_NAPI_ARGV_FLOAT( env, alpha, argv, 1)
3939
STDLIB_NAPI_ARGV_INT64( env, stride, argv, 3 );
4040
STDLIB_NAPI_ARGV_STRIDED_FLOAT32ARRAY( env, X, N, stride, argv, 2 );
4141
STDLIB_NAPI_CREATE_DOUBLE( env, (double)stdlib_strided_sapxsumkbn2( N, alpha, X, stride ), v );

lib/node_modules/@stdlib/blas/ext/base/snansumpw/src/addon.c

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@
3333
* @return Node-API value
3434
*/
3535
static napi_value addon( napi_env env, napi_callback_info info ) {
36-
STDLIB_NAPI_ARGV( env, info, argv, argc, 3 );
37-
STDLIB_NAPI_ARGV_INT64( env, N, argv, 0 );
38-
STDLIB_NAPI_ARGV_INT64( env, strideX, argv, 2 );
39-
STDLIB_NAPI_ARGV_STRIDED_FLOAT32ARRAY( env, X, N, strideX, argv, 1 );
40-
STDLIB_NAPI_CREATE_DOUBLE( env, (double)API_SUFFIX(stdlib_strided_snansumpw)( N, X, strideX ), v );
41-
return v;
36+
STDLIB_NAPI_ARGV( env, info, argv, argc, 3 );
37+
STDLIB_NAPI_ARGV_INT64( env, N, argv, 0 );
38+
STDLIB_NAPI_ARGV_INT64( env, strideX, argv, 2 );
39+
STDLIB_NAPI_ARGV_STRIDED_FLOAT32ARRAY( env, X, N, strideX, argv, 1 );
40+
STDLIB_NAPI_CREATE_DOUBLE( env, (double)API_SUFFIX(stdlib_strided_snansumpw)( N, X, strideX ), v );
41+
return v;
4242
}
4343

4444
/**
@@ -49,13 +49,13 @@ static napi_value addon( napi_env env, napi_callback_info info ) {
4949
* @return Node-API value
5050
*/
5151
static napi_value addon_method( napi_env env, napi_callback_info info ) {
52-
STDLIB_NAPI_ARGV( env, info, argv, argc, 4 );
53-
STDLIB_NAPI_ARGV_INT64( env, N, argv, 0 );
54-
STDLIB_NAPI_ARGV_INT64( env, strideX, argv, 2 );
55-
STDLIB_NAPI_ARGV_INT64( env, offsetX, argv, 3 );
56-
STDLIB_NAPI_ARGV_STRIDED_FLOAT32ARRAY( env, X, N, strideX, argv, 1 );
57-
STDLIB_NAPI_CREATE_DOUBLE( env, (double)API_SUFFIX(stdlib_strided_snansumpw_ndarray)( N, X, strideX, offsetX ), v );
58-
return v;
52+
STDLIB_NAPI_ARGV( env, info, argv, argc, 4 );
53+
STDLIB_NAPI_ARGV_INT64( env, N, argv, 0 );
54+
STDLIB_NAPI_ARGV_INT64( env, strideX, argv, 2 );
55+
STDLIB_NAPI_ARGV_INT64( env, offsetX, argv, 3 );
56+
STDLIB_NAPI_ARGV_STRIDED_FLOAT32ARRAY( env, X, N, strideX, argv, 1 );
57+
STDLIB_NAPI_CREATE_DOUBLE( env, (double)API_SUFFIX(stdlib_strided_snansumpw_ndarray)( N, X, strideX, offsetX ), v );
58+
return v;
5959
}
6060

6161
STDLIB_NAPI_MODULE_EXPORT_FCN_WITH_METHOD( addon, "ndarray", addon_method );

lib/node_modules/@stdlib/blas/ext/base/ssort2ins/src/addon.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@
3232
* @return Node-API value
3333
*/
3434
static napi_value addon( napi_env env, napi_callback_info info ) {
35-
STDLIB_NAPI_ARGV( env, info, argv, argc, 6 );
36-
STDLIB_NAPI_ARGV_INT64( env, N, argv, 0 );
35+
STDLIB_NAPI_ARGV( env, info, argv, argc, 6 );
36+
STDLIB_NAPI_ARGV_INT64( env, N, argv, 0 );
3737
STDLIB_NAPI_ARGV_FLOAT( env, order, argv, 1 );
38-
STDLIB_NAPI_ARGV_INT64( env, strideX, argv, 3 );
39-
STDLIB_NAPI_ARGV_INT64( env, strideY, argv, 5 );
40-
STDLIB_NAPI_ARGV_STRIDED_FLOAT32ARRAY( env, X, N, strideX, argv, 2 );
41-
STDLIB_NAPI_ARGV_STRIDED_FLOAT32ARRAY( env, Y, N, strideY, argv, 4 );
42-
c_ssort2ins( N, order, X, strideX, Y, strideY );
43-
return NULL;
38+
STDLIB_NAPI_ARGV_INT64( env, strideX, argv, 3 );
39+
STDLIB_NAPI_ARGV_INT64( env, strideY, argv, 5 );
40+
STDLIB_NAPI_ARGV_STRIDED_FLOAT32ARRAY( env, X, N, strideX, argv, 2 );
41+
STDLIB_NAPI_ARGV_STRIDED_FLOAT32ARRAY( env, Y, N, strideY, argv, 4 );
42+
c_ssort2ins( N, order, X, strideX, Y, strideY );
43+
return NULL;
4444
}
4545

4646
STDLIB_NAPI_MODULE_EXPORT_FCN( addon )

lib/node_modules/@stdlib/blas/ext/base/ssortins/src/addon.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@
3232
* @return Node-API value
3333
*/
3434
static napi_value addon( napi_env env, napi_callback_info info ) {
35-
STDLIB_NAPI_ARGV( env, info, argv, argc, 4 );
36-
STDLIB_NAPI_ARGV_INT64( env, N, argv, 0 );
35+
STDLIB_NAPI_ARGV( env, info, argv, argc, 4 );
36+
STDLIB_NAPI_ARGV_INT64( env, N, argv, 0 );
3737
STDLIB_NAPI_ARGV_FLOAT( env, order, argv, 1 );
3838
STDLIB_NAPI_ARGV_INT64( env, stride, argv, 3 );
3939
STDLIB_NAPI_ARGV_STRIDED_FLOAT32ARRAY( env, X, N, stride, argv, 2 );
40-
c_ssortins( N, order, X, stride );
41-
return NULL;
40+
c_ssortins( N, order, X, stride );
41+
return NULL;
4242
}
4343

4444
STDLIB_NAPI_MODULE_EXPORT_FCN( addon )

lib/node_modules/@stdlib/math/base/assert/is-evenf/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
* // returns false
3333
*/
3434
bool stdlib_base_is_evenf( const float x ) {
35-
return stdlib_base_is_integerf( x / 2.0f );
35+
return stdlib_base_is_integerf( x / 2.0f );
3636
}

lib/node_modules/@stdlib/math/base/assert/is-integer/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
* // returns true
3333
*/
3434
bool stdlib_base_is_integer( const double x ) {
35-
return ( x == stdlib_base_floor( x ) );
35+
return ( x == stdlib_base_floor( x ) );
3636
}

lib/node_modules/@stdlib/math/base/assert/is-integerf/examples/c/example.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
#include <stdbool.h>
2323

2424
int main( void ) {
25-
float x;
26-
bool v;
27-
int i;
25+
float x;
26+
bool v;
27+
int i;
2828

29-
for ( i = 0; i < 100; i++ ) {
30-
x = ( ( (float)rand() / (float)RAND_MAX ) * 100.0f ) - 50.0f;
31-
v = stdlib_base_is_integerf( x );
32-
printf( "x = %f, is_integer(x) = %s\n", x, ( v ) ? "true" : "false" );
33-
}
29+
for ( i = 0; i < 100; i++ ) {
30+
x = ( ( (float)rand() / (float)RAND_MAX ) * 100.0f ) - 50.0f;
31+
v = stdlib_base_is_integerf( x );
32+
printf( "x = %f, is_integer(x) = %s\n", x, ( v ) ? "true" : "false" );
33+
}
3434
}

lib/node_modules/@stdlib/math/base/assert/is-integerf/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
* // returns true
3333
*/
3434
bool stdlib_base_is_integerf( const float x ) {
35-
return ( x == stdlib_base_floorf( x ) );
35+
return ( x == stdlib_base_floorf( x ) );
3636
}

lib/node_modules/@stdlib/math/base/assert/is-nonpositive-integer/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
* // returns false
3333
*/
3434
bool stdlib_base_is_nonpositive_integer( const double x ) {
35-
return ( stdlib_base_floor( x ) == x && x <= 0 );
35+
return ( stdlib_base_floor( x ) == x && x <= 0 );
3636
}

lib/node_modules/@stdlib/math/base/assert/is-prime/src/main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
#include <stdint.h>
2525

2626
static const double WHEEL_PRIMES[45] = {
27-
11.0, 13.0, 17.0, 19.0, 23.0, 29.0, 31.0, 37.0, 41.0, 43.0, 47.0, 53.0, 59.0, 61.0, 67.0, 71.0, 73.0, 79.0, 83.0, 89.0, 97.0,
28-
101.0, 103.0, 107.0, 109.0, 113.0, 127.0, 131.0, 137.0, 139.0, 149.0, 151.0, 157.0, 163.0, 167.0, 173.0, 179.0, 181.0,
29-
191.0, 193.0, 197.0, 199.0, 211.0
27+
11.0, 13.0, 17.0, 19.0, 23.0, 29.0, 31.0, 37.0, 41.0, 43.0, 47.0, 53.0, 59.0, 61.0, 67.0, 71.0, 73.0, 79.0, 83.0, 89.0, 97.0,
28+
101.0, 103.0, 107.0, 109.0, 113.0, 127.0, 131.0, 137.0, 139.0, 149.0, 151.0, 157.0, 163.0, 167.0, 173.0, 179.0, 181.0,
29+
191.0, 193.0, 197.0, 199.0, 211.0
3030
};
3131

3232
/**

0 commit comments

Comments
 (0)