Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix C lint errors #6169

Open
stdlib-bot opened this issue Mar 19, 2025 · 1 comment · May be fixed by #6200
Open

Fix C lint errors #6169

stdlib-bot opened this issue Mar 19, 2025 · 1 comment · May be fixed by #6200

Comments

@stdlib-bot
Copy link
Contributor

C Linting Failures

Linting failures were detected in the automated lint workflow run.

Workflow Details

Error Details

lib/node_modules/@stdlib/ndarray/base/nullary/src/z_as_c.c:200:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_NULLARY_1D_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 ^
lib/node_modules/@stdlib/ndarray/base/nullary/src/z_as_c.c:284:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_NULLARY_2D_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 ^
lib/node_modules/@stdlib/ndarray/base/nullary/src/z_as_c.c:368:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_NULLARY_2D_BLOCKED_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 ^
lib/node_modules/@stdlib/ndarray/base/nullary/src/z_as_c.c:452:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_NULLARY_3D_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 ^
lib/node_modules/@stdlib/ndarray/base/nullary/src/z_as_c.c:536:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_NULLARY_3D_BLOCKED_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 ^
lib/node_modules/@stdlib/ndarray/base/nullary/src/z_as_c.c:620:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_NULLARY_4D_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 ^
lib/node_modules/@stdlib/ndarray/base/nullary/src/z_as_c.c:704:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_NULLARY_4D_BLOCKED_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 ^
lib/node_modules/@stdlib/ndarray/base/nullary/src/z_as_c.c:788:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_NULLARY_5D_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 ^
lib/node_modules/@stdlib/ndarray/base/nullary/src/z_as_c.c:872:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_NULLARY_5D_BLOCKED_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 ^
lib/node_modules/@stdlib/ndarray/base/nullary/src/z_as_c.c:956:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_NULLARY_6D_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 ^
lib/node_modules/@stdlib/ndarray/base/nullary/src/z_as_c.c:1040:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_NULLARY_6D_BLOCKED_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 ^
lib/node_modules/@stdlib/ndarray/base/nullary/src/z_as_c.c:1124:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_NULLARY_7D_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 ^
lib/node_modules/@stdlib/ndarray/base/nullary/src/z_as_c.c:1208:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_NULLARY_7D_BLOCKED_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 ^
lib/node_modules/@stdlib/ndarray/base/nullary/src/z_as_c.c:1292:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_NULLARY_8D_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 ^
lib/node_modules/@stdlib/ndarray/base/nullary/src/z_as_c.c:1376:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_NULLARY_8D_BLOCKED_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 ^
lib/node_modules/@stdlib/ndarray/base/nullary/src/z_as_c.c:1460:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_NULLARY_9D_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 ^
lib/node_modules/@stdlib/ndarray/base/nullary/src/z_as_c.c:1544:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_NULLARY_9D_BLOCKED_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 ^
lib/node_modules/@stdlib/ndarray/base/nullary/src/z_as_c.c:1628:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_NULLARY_10D_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 ^
lib/node_modules/@stdlib/ndarray/base/nullary/src/z_as_c.c:1712:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_NULLARY_10D_BLOCKED_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 ^
lib/node_modules/@stdlib/ndarray/base/nullary/src/z_as_c.c:1796:2: style: Variable 'x1' can be declared as pointer to const [constVariablePointer]
 STDLIB_NDARRAY_NULLARY_ND_LOOP_CLBK_RET_CAST_FCN( stdlib_complex128_t, stdlib_complex128_from_complex64 )
 ^
@JaySoni1 JaySoni1 linked a pull request Mar 19, 2025 that will close this issue
1 task
@anees10z
Copy link

hii

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants