Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ extern "C" {
/**
* Determines if an array is column-major based on a provided stride array.
*/
int8_t stdlib_ndarray_is_column_major( int64_t ndims, int64_t *strides );
int8_t stdlib_ndarray_is_column_major( const int64_t ndims, const int64_t *strides );

#ifdef __cplusplus
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
* int8_t b = stdlib_ndarray_is_column_major( ndims, strides );
* // returns 1
*/
int8_t stdlib_ndarray_is_column_major( int64_t ndims, int64_t *strides ) {
int8_t stdlib_ndarray_is_column_major( const int64_t ndims, const int64_t *strides ) {
int64_t s1;
int64_t s2;
int64_t i;
Expand Down