Skip to content

Commit a04c190

Browse files
GeoDaoyukgryte
andauthored
chore: fix C lint errors
PR-URL: #11335 Closes: #11334 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 121f2c0 commit a04c190

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/node_modules/@stdlib/ndarray/base/iteration-order/include/stdlib/ndarray/base/iteration_order.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ extern "C" {
3131
/**
3232
* Determines array iteration order, given a stride array.
3333
*/
34-
int8_t stdlib_ndarray_iteration_order( int64_t ndims, int64_t *strides );
34+
int8_t stdlib_ndarray_iteration_order( const int64_t ndims, const int64_t *strides );
3535

3636
#ifdef __cplusplus
3737
}

lib/node_modules/@stdlib/ndarray/base/iteration-order/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
* int8_t o = stdlib_ndarray_iteration_order( ndims, strides );
4444
* // returns 1
4545
*/
46-
int8_t stdlib_ndarray_iteration_order( int64_t ndims, int64_t *strides ) {
46+
int8_t stdlib_ndarray_iteration_order( const int64_t ndims, const int64_t *strides ) {
4747
int64_t cnt;
4848
int64_t i;
4949

0 commit comments

Comments
 (0)