Skip to content

Commit 4268aa9

Browse files
author
zhanggy
committed
chore: fix C lint errors (issue #6356)
1 parent f344e9d commit 4268aa9

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/number/float32/base/normalize/examples/c

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/number/float32/base/normalize/examples/c/example.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include <inttypes.h>
2323

2424
int main( void ) {
25-
float x[] = { 4.0f, 0.0f, -0.0f, 1.0f, -1.0f, 3.14f, -3.14f, 1.0e-38f, -1.0e-38f, 1.0f/0.0f, -1.0f/0.0f, 0.0f/0.0f };
25+
const float x[] = { 4.0f, 0.0f, -0.0f, 1.0f, -1.0f, 3.14f, -3.14f, 1.0e-38f, -1.0e-38f, 1.0f/0.0f, -1.0f/0.0f, 0.0f/0.0f };
2626

2727
int32_t exp;
2828
float y;

0 commit comments

Comments
 (0)