Skip to content

Commit 442efb4

Browse files
committed
chore: resolve lint errors
--- 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: na - 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 3419f20 commit 442efb4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+1205
-1205
lines changed

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/b.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/c.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/c_as_b.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/c_as_f.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/c_as_k.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/c_as_s.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/c_as_t.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/c_as_z.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/d.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/d_as_b.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/d_as_f.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/d_as_i.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/d_as_k.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/d_as_s.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/d_as_t.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/d_as_u.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/f.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/f_as_b.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/f_as_d.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/f_as_k.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/f_as_s.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/f_as_t.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/i.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/i_as_b.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/i_as_k.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/i_as_s.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/i_as_t.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/k.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/k_as_b.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/k_as_s.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/macros/10d.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
*/
4242
#define STDLIB_NDARRAY_NULLARY_10D_LOOP_PREAMBLE \
4343
const struct ndarray *x1 = arrays[ 0 ]; \
44-
int64_t *shape = stdlib_ndarray_shape( x1 ); \
45-
int64_t *sx1 = stdlib_ndarray_strides( x1 ); \
44+
const int64_t *shape = stdlib_ndarray_shape( x1 ); \
45+
const int64_t *sx1 = stdlib_ndarray_strides( x1 ); \
4646
uint8_t *px1 = stdlib_ndarray_data( x1 ); \
4747
int64_t d0x1; \
4848
int64_t d1x1; \
@@ -153,9 +153,9 @@
153153
#define STDLIB_NDARRAY_NULLARY_10D_LOOP_TWO_OUT_PREAMBLE \
154154
const struct ndarray *x1 = arrays[ 0 ]; \
155155
const struct ndarray *x2 = arrays[ 1 ]; \
156-
int64_t *shape = stdlib_ndarray_shape( x1 ); \
157-
int64_t *sx1 = stdlib_ndarray_strides( x1 ); \
158-
int64_t *sx2 = stdlib_ndarray_strides( x2 ); \
156+
const int64_t *shape = stdlib_ndarray_shape( x1 ); \
157+
const int64_t *sx1 = stdlib_ndarray_strides( x1 ); \
158+
const int64_t *sx2 = stdlib_ndarray_strides( x2 ); \
159159
uint8_t *px1 = stdlib_ndarray_data( x1 ); \
160160
uint8_t *px2 = stdlib_ndarray_data( x2 ); \
161161
int64_t d0x1; \

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/macros/1d.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
*/
4141
#define STDLIB_NDARRAY_NULLARY_1D_LOOP_PREAMBLE \
4242
const struct ndarray *x1 = arrays[ 0 ]; \
43-
int64_t *shape = stdlib_ndarray_shape( x1 ); \
44-
int64_t *sx1 = stdlib_ndarray_strides( x1 ); \
43+
const int64_t *shape = stdlib_ndarray_shape( x1 ); \
44+
const int64_t *sx1 = stdlib_ndarray_strides( x1 ); \
4545
uint8_t *px1 = stdlib_ndarray_data( x1 ); \
4646
int64_t d0x1; \
4747
int64_t S0; \
@@ -73,9 +73,9 @@
7373
#define STDLIB_NDARRAY_NULLARY_1D_LOOP_TWO_OUT_PREAMBLE \
7474
const struct ndarray *x1 = arrays[ 0 ]; \
7575
const struct ndarray *x2 = arrays[ 1 ]; \
76-
int64_t *shape = stdlib_ndarray_shape( x1 ); \
77-
int64_t *sx1 = stdlib_ndarray_strides( x1 ); \
78-
int64_t *sx2 = stdlib_ndarray_strides( x2 ); \
76+
const int64_t *shape = stdlib_ndarray_shape( x1 ); \
77+
const int64_t *sx1 = stdlib_ndarray_strides( x1 ); \
78+
const int64_t *sx2 = stdlib_ndarray_strides( x2 ); \
7979
uint8_t *px1 = stdlib_ndarray_data( x1 ); \
8080
uint8_t *px2 = stdlib_ndarray_data( x2 ); \
8181
int64_t d0x1; \

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/macros/2d.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
*/
4242
#define STDLIB_NDARRAY_NULLARY_2D_LOOP_PREAMBLE \
4343
const struct ndarray *x1 = arrays[ 0 ]; \
44-
int64_t *shape = stdlib_ndarray_shape( x1 ); \
45-
int64_t *sx1 = stdlib_ndarray_strides( x1 ); \
44+
const int64_t *shape = stdlib_ndarray_shape( x1 ); \
45+
const int64_t *sx1 = stdlib_ndarray_strides( x1 ); \
4646
uint8_t *px1 = stdlib_ndarray_data( x1 ); \
4747
int64_t d0x1; \
4848
int64_t d1x1; \
@@ -89,9 +89,9 @@
8989
#define STDLIB_NDARRAY_NULLARY_2D_LOOP_TWO_OUT_PREAMBLE \
9090
const struct ndarray *x1 = arrays[ 0 ]; \
9191
const struct ndarray *x2 = arrays[ 1 ]; \
92-
int64_t *shape = stdlib_ndarray_shape( x1 ); \
93-
int64_t *sx1 = stdlib_ndarray_strides( x1 ); \
94-
int64_t *sx2 = stdlib_ndarray_strides( x2 ); \
92+
const int64_t *shape = stdlib_ndarray_shape( x1 ); \
93+
const int64_t *sx1 = stdlib_ndarray_strides( x1 ); \
94+
const int64_t *sx2 = stdlib_ndarray_strides( x2 ); \
9595
uint8_t *px1 = stdlib_ndarray_data( x1 ); \
9696
uint8_t *px2 = stdlib_ndarray_data( x2 ); \
9797
int64_t d0x1; \

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/macros/3d.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
*/
4242
#define STDLIB_NDARRAY_NULLARY_3D_LOOP_PREAMBLE \
4343
const struct ndarray *x1 = arrays[ 0 ]; \
44-
int64_t *shape = stdlib_ndarray_shape( x1 ); \
45-
int64_t *sx1 = stdlib_ndarray_strides( x1 ); \
44+
const int64_t *shape = stdlib_ndarray_shape( x1 ); \
45+
const int64_t *sx1 = stdlib_ndarray_strides( x1 ); \
4646
uint8_t *px1 = stdlib_ndarray_data( x1 ); \
4747
int64_t d0x1; \
4848
int64_t d1x1; \
@@ -97,9 +97,9 @@
9797
#define STDLIB_NDARRAY_NULLARY_3D_LOOP_TWO_OUT_PREAMBLE \
9898
const struct ndarray *x1 = arrays[ 0 ]; \
9999
const struct ndarray *x2 = arrays[ 1 ]; \
100-
int64_t *shape = stdlib_ndarray_shape( x1 ); \
101-
int64_t *sx1 = stdlib_ndarray_strides( x1 ); \
102-
int64_t *sx2 = stdlib_ndarray_strides( x2 ); \
100+
const int64_t *shape = stdlib_ndarray_shape( x1 ); \
101+
const int64_t *sx1 = stdlib_ndarray_strides( x1 ); \
102+
const int64_t *sx2 = stdlib_ndarray_strides( x2 ); \
103103
uint8_t *px1 = stdlib_ndarray_data( x1 ); \
104104
uint8_t *px2 = stdlib_ndarray_data( x2 ); \
105105
int64_t d0x1; \

lib/node_modules/@stdlib/ndarray/base/nullary/include/stdlib/ndarray/base/nullary/macros/4d.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
*/
4242
#define STDLIB_NDARRAY_NULLARY_4D_LOOP_PREAMBLE \
4343
const struct ndarray *x1 = arrays[ 0 ]; \
44-
int64_t *shape = stdlib_ndarray_shape( x1 ); \
45-
int64_t *sx1 = stdlib_ndarray_strides( x1 ); \
44+
const int64_t *shape = stdlib_ndarray_shape( x1 ); \
45+
const int64_t *sx1 = stdlib_ndarray_strides( x1 ); \
4646
uint8_t *px1 = stdlib_ndarray_data( x1 ); \
4747
int64_t d0x1; \
4848
int64_t d1x1; \
@@ -105,9 +105,9 @@
105105
#define STDLIB_NDARRAY_NULLARY_4D_LOOP_TWO_OUT_PREAMBLE \
106106
const struct ndarray *x1 = arrays[ 0 ]; \
107107
const struct ndarray *x2 = arrays[ 1 ]; \
108-
int64_t *shape = stdlib_ndarray_shape( x1 ); \
109-
int64_t *sx1 = stdlib_ndarray_strides( x1 ); \
110-
int64_t *sx2 = stdlib_ndarray_strides( x2 ); \
108+
const int64_t *shape = stdlib_ndarray_shape( x1 ); \
109+
const int64_t *sx1 = stdlib_ndarray_strides( x1 ); \
110+
const int64_t *sx2 = stdlib_ndarray_strides( x2 ); \
111111
uint8_t *px1 = stdlib_ndarray_data( x1 ); \
112112
uint8_t *px2 = stdlib_ndarray_data( x2 ); \
113113
int64_t d0x1; \

0 commit comments

Comments
 (0)