From 2ea8e0bd2c2d99dbb3f2e6cfd877bfc8b1317519 Mon Sep 17 00:00:00 2001 From: Gopi Kishan Date: Tue, 11 Feb 2025 23:49:04 +0530 Subject: [PATCH] Fix C lint errors --- .../@stdlib/stats/base/smeanors/examples/c/example.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/stats/base/smeanors/examples/c/example.c b/lib/node_modules/@stdlib/stats/base/smeanors/examples/c/example.c index 7b81969e1c00..b6efc0b1eb23 100644 --- a/lib/node_modules/@stdlib/stats/base/smeanors/examples/c/example.c +++ b/lib/node_modules/@stdlib/stats/base/smeanors/examples/c/example.c @@ -22,7 +22,7 @@ int main( void ) { // Create a strided array: - float x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; + const float x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 }; // Specify the number of elements: int64_t N = 4;