Skip to content

Commit d4effdb

Browse files
authored
chore: fix C lint errors
PR-URL: #7217 Closes: #7185 Reviewed-by: Athan Reines <[email protected]>
1 parent 6665951 commit d4effdb

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/stats/base/snanmskmax/examples/c

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/stats/base/snanmskmax/examples/c/example.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222

2323
int main( void ) {
2424
// Create a strided array:
25-
float x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0 };
25+
const float x[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0 };
2626

2727
// Create a mask array:
28-
uint8_t mask[] = { 0, 0, 0, 0, 0, 0, 0, 0, 1, 1 };
28+
const uint8_t mask[] = { 0, 0, 0, 0, 0, 0, 0, 0, 1, 1 };
2929

3030
// Specify the number of elements:
3131
int64_t N = 5;

0 commit comments

Comments
 (0)