We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba14b89 commit 0f2bccbCopy full SHA for 0f2bccb
lib/node_modules/@stdlib/ndarray/base/minmax-view-buffer-index/benchmark/c/benchmark.c
@@ -96,10 +96,10 @@ static double benchmark( void ) {
96
int i;
97
98
int64_t out[ 2 ];
99
- int64_t shape[] = { 10, 10, 10 };
100
- int64_t strides[] = { 100, 10, 1 };
101
- int64_t offset = 1000;
102
- int64_t ndims = 3;
+ const int64_t shape[] = { 10, 10, 10 };
+ const int64_t strides[] = { 100, 10, 1 };
+ const int64_t offset = 1000;
+ const int64_t ndims = 3;
103
104
t = tic();
105
for ( i = 0; i < ITERATIONS; i++ ) {
0 commit comments