Skip to content

Commit b818857

Browse files
chore: fix C lint errors
PR-URL: #6279 Closes: #6272 Co-authored-by: Athan Reines <[email protected]> Reviewed-by: Athan Reines <[email protected]> Signed-off-by: Athan Reines <[email protected]>
1 parent b1e106f commit b818857

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ 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:
3737
float complex Y[] = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 };

0 commit comments

Comments
 (0)