Skip to content

Commit 3de5ee6

Browse files
committed
Merge branch 'develop' of https://github.com/stdlib-js/stdlib into develop
2 parents a937794 + 097c6fb commit 3de5ee6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/node_modules/@stdlib/ndarray/base/minmax-view-buffer-index/include/stdlib/ndarray/base/minmax_view_buffer_index.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ extern "C" {
3131
/**
3232
* Computes the minimum and maximum linear indices (in bytes) in an underlying data buffer accessible to an array view.
3333
*/
34-
int8_t stdlib_ndarray_minmax_view_buffer_index( int64_t ndims, int64_t *shape, int64_t *strides, int64_t offset, int64_t *out );
34+
int8_t stdlib_ndarray_minmax_view_buffer_index( const int64_t ndims, const int64_t *shape, const int64_t *strides, const int64_t offset, int64_t *out );
3535

3636
#ifdef __cplusplus
3737
}

lib/node_modules/@stdlib/ndarray/base/minmax-view-buffer-index/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
* int64_t max = out[ 1 ];
4848
* // returns 99
4949
*/
50-
int8_t stdlib_ndarray_minmax_view_buffer_index( int64_t ndims, int64_t *shape, int64_t *strides, int64_t offset, int64_t *out ) {
50+
int8_t stdlib_ndarray_minmax_view_buffer_index( const int64_t ndims, const int64_t *shape, const int64_t *strides, const int64_t offset, int64_t *out ) {
5151
int64_t min;
5252
int64_t max;
5353
int64_t s;

0 commit comments

Comments
 (0)