Skip to content

Commit 647aefa

Browse files
authored
chore: fix C lint errors
PR-URL: #7460 Closes: #6356 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 3f259f1 commit 647aefa

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)