We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6570841 commit 66a381dCopy full SHA for 66a381d
lib/node_modules/@stdlib/strided/base/unary/examples/c/example.c
@@ -35,10 +35,10 @@ int main( void ) {
35
uint8_t *arrays[] = { x, out };
36
37
// Define the strides:
38
- int64_t strides[] = { 1, 8 }; // 1 byte per uint8, 8 bytes per double
+ const int64_t strides[] = { 1, 8 }; // 1 byte per uint8, 8 bytes per double
39
40
// Define the number of elements over which to iterate:
41
- int64_t shape[] = { 3 };
+ const int64_t shape[] = { 3 };
42
43
// Apply the callback:
44
stdlib_strided_b_d_as_d_d( arrays, shape, strides, (void *)scale );
0 commit comments