Skip to content

Commit 66a381d

Browse files
chore: fix C lint errors
PR-URL: #6866 Closes: #6778 Signed-off-by: Lalit Narayan Yadav <[email protected]> Reviewed-by: Philipp Burckhardt <[email protected]>
1 parent 6570841 commit 66a381d

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/strided/base/unary/examples/c

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/strided/base/unary/examples/c/example.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ int main( void ) {
3535
uint8_t *arrays[] = { x, out };
3636

3737
// Define the strides:
38-
int64_t strides[] = { 1, 8 }; // 1 byte per uint8, 8 bytes per double
38+
const int64_t strides[] = { 1, 8 }; // 1 byte per uint8, 8 bytes per double
3939

4040
// Define the number of elements over which to iterate:
41-
int64_t shape[] = { 3 };
41+
const int64_t shape[] = { 3 };
4242

4343
// Apply the callback:
4444
stdlib_strided_b_d_as_d_d( arrays, shape, strides, (void *)scale );

0 commit comments

Comments
 (0)