Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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 array iteration order, given a stride array.
*/
int8_t stdlib_ndarray_iteration_order( int64_t ndims, int64_t *strides );
int8_t stdlib_ndarray_iteration_order( int64_t ndims, const int64_t *strides );
Comment thread
kgryte marked this conversation as resolved.
Outdated
Comment thread
kgryte marked this conversation as resolved.
Outdated

#ifdef __cplusplus
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* int8_t o = stdlib_ndarray_iteration_order( ndims, strides );
* // returns 1
*/
int8_t stdlib_ndarray_iteration_order( int64_t ndims, int64_t *strides ) {
int8_t stdlib_ndarray_iteration_order( int64_t ndims, const int64_t *strides ) {
Comment thread
kgryte marked this conversation as resolved.
Outdated
Comment thread
kgryte marked this conversation as resolved.
Outdated
int64_t cnt;
int64_t i;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ int8_t stdlib_ndarray_unary_accumulate_dispatch( const struct ndarrayUnaryAccumu
int64_t ndims;
int64_t mab1;
int64_t mib1;
int64_t *s1;
const int64_t *s1;
Comment thread
kgryte marked this conversation as resolved.
int64_t len;
int64_t bp1;
int8_t io1;
Expand Down