Skip to content

Commit 15fa50d

Browse files
GeoDaoyukgryte
andauthored
chore: fix C lint errors
PR-URL: #7568 Closes: #7554 Co-authored-by: Athan Reines <[email protected]> Reviewed-by: Athan Reines <[email protected]>
1 parent cd645cc commit 15fa50d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/node_modules/@stdlib/ndarray/base/nonsingleton-dimensions/include/stdlib/ndarray/base/nonsingleton_dimensions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ extern "C" {
3131
/**
3232
* Returns the number of non-singleton dimensions.
3333
*/
34-
int64_t stdlib_ndarray_nonsingleton_dimensions( int64_t ndims, int64_t *shape );
34+
int64_t stdlib_ndarray_nonsingleton_dimensions( const int64_t ndims, const int64_t *shape );
3535

3636
#ifdef __cplusplus
3737
}

lib/node_modules/@stdlib/ndarray/base/nonsingleton-dimensions/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
* int64_t n = stdlib_ndarray_nonsingleton_dimensions( ndims, shape );
3636
* // returns 1
3737
*/
38-
int64_t stdlib_ndarray_nonsingleton_dimensions( int64_t ndims, int64_t *shape ) {
38+
int64_t stdlib_ndarray_nonsingleton_dimensions( const int64_t ndims, const int64_t *shape ) {
3939
int64_t n;
4040
int64_t i;
4141

0 commit comments

Comments
 (0)