Skip to content

Commit 04f735e

Browse files
chore: fix C lint errors
1 parent fe0ad15 commit 04f735e

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ static float complex scale( const float complex x ) {
3131

3232
int main( void ) {
3333
// Create an input strided array:
34-
float complex X[] = { 1.0+1.0*I, 2.0+2.0*I, 3.0+3.0*I, 4.0+4.0*I, 5.0+5.0*I, 6.0+6.0*I };
34+
const float complex X[] = { 1.0+1.0*I, 2.0+2.0*I, 3.0+3.0*I, 4.0+4.0*I, 5.0+5.0*I, 6.0+6.0*I };
3535

3636
// Create an output strided array:
37-
float complex Y[] = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 };
37+
const float complex Y[] = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 };
3838

3939
// Specify the number of elements:
4040
int64_t N = 6;

0 commit comments

Comments
 (0)