Skip to content

Commit 113f671

Browse files
authored
chore: fix C lint errors stdlib-js#6132
Signed-off-by: MANI <[email protected]>
1 parent 04f0f1e commit 113f671

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/strided/base/dmskmap/examples/c

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/strided/base/dmskmap/examples/c/example.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ static double scale( const double x ) {
2828

2929
int main( void ) {
3030
// Create an input strided array:
31-
double X[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 };
31+
const double X[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 };
3232

3333
// Create a mask strided array:
34-
uint8_t M[] = { 0, 0, 1, 0, 0, 1 };
34+
const uint8_t M[] = { 0, 0, 1, 0, 0, 1 };
3535

3636
// Create an output strided array:
3737
double Y[] = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 };

0 commit comments

Comments
 (0)