From e5fac729bddd2a9371eb0c733a4f57ab2e0f7c15 Mon Sep 17 00:00:00 2001 From: GeoDaoyu Date: Wed, 20 May 2026 08:55:33 +0800 Subject: [PATCH] chore: fix C lint errors (issue #12209) --- .../is-single-segment-compatible/benchmark/c/benchmark.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/node_modules/@stdlib/ndarray/base/assert/is-single-segment-compatible/benchmark/c/benchmark.c b/lib/node_modules/@stdlib/ndarray/base/assert/is-single-segment-compatible/benchmark/c/benchmark.c index c0c61068cc9e..16d798a67c2d 100644 --- a/lib/node_modules/@stdlib/ndarray/base/assert/is-single-segment-compatible/benchmark/c/benchmark.c +++ b/lib/node_modules/@stdlib/ndarray/base/assert/is-single-segment-compatible/benchmark/c/benchmark.c @@ -97,10 +97,10 @@ static double benchmark( void ) { double t; int i; - int64_t shape[] = { 10, 10, 10 }; - int64_t strides[] = { 100, 10, 1 }; + const int64_t shape[] = { 10, 10, 10 }; + const int64_t strides[] = { 100, 10, 1 }; int64_t offset = 0; - int64_t ndims = 3; + const int64_t ndims = 3; t = tic(); for ( i = 0; i < ITERATIONS; i++ ) {