Skip to content

Commit 0f2bccb

Browse files
committed
chore: fix C lint errors (issue #8196)
1 parent ba14b89 commit 0f2bccb

File tree

1 file changed

+4
-4
lines changed
  • lib/node_modules/@stdlib/ndarray/base/minmax-view-buffer-index/benchmark/c

1 file changed

+4
-4
lines changed

lib/node_modules/@stdlib/ndarray/base/minmax-view-buffer-index/benchmark/c/benchmark.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ static double benchmark( void ) {
9696
int i;
9797

9898
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;
99+
const int64_t shape[] = { 10, 10, 10 };
100+
const int64_t strides[] = { 100, 10, 1 };
101+
const int64_t offset = 1000;
102+
const int64_t ndims = 3;
103103

104104
t = tic();
105105
for ( i = 0; i < ITERATIONS; i++ ) {

0 commit comments

Comments
 (0)