Skip to content

Commit 06bd1c1

Browse files
author
zhanggy
committed
chore: fix C lint errors (issue #6994)
1 parent 70d6643 commit 06bd1c1

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/stats/base/dmeanstdevpn/examples/c

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

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

2727
// Create an output array:
2828
double out[] = { 0.0, 0.0 };

0 commit comments

Comments
 (0)