diff --git a/lib/node_modules/@stdlib/ndarray/base/nonsingleton-dimensions/include/stdlib/ndarray/base/nonsingleton_dimensions.h b/lib/node_modules/@stdlib/ndarray/base/nonsingleton-dimensions/include/stdlib/ndarray/base/nonsingleton_dimensions.h index a084cafe12ea..b7a5eb8110d9 100644 --- a/lib/node_modules/@stdlib/ndarray/base/nonsingleton-dimensions/include/stdlib/ndarray/base/nonsingleton_dimensions.h +++ b/lib/node_modules/@stdlib/ndarray/base/nonsingleton-dimensions/include/stdlib/ndarray/base/nonsingleton_dimensions.h @@ -31,7 +31,7 @@ extern "C" { /** * Returns the number of non-singleton dimensions. */ -int64_t stdlib_ndarray_nonsingleton_dimensions( int64_t ndims, int64_t *shape ); +int64_t stdlib_ndarray_nonsingleton_dimensions( const int64_t ndims, const int64_t *shape ); #ifdef __cplusplus } diff --git a/lib/node_modules/@stdlib/ndarray/base/nonsingleton-dimensions/src/main.c b/lib/node_modules/@stdlib/ndarray/base/nonsingleton-dimensions/src/main.c index e3a8b29b6b9e..90934f76e972 100644 --- a/lib/node_modules/@stdlib/ndarray/base/nonsingleton-dimensions/src/main.c +++ b/lib/node_modules/@stdlib/ndarray/base/nonsingleton-dimensions/src/main.c @@ -35,7 +35,7 @@ * int64_t n = stdlib_ndarray_nonsingleton_dimensions( ndims, shape ); * // returns 1 */ -int64_t stdlib_ndarray_nonsingleton_dimensions( int64_t ndims, int64_t *shape ) { +int64_t stdlib_ndarray_nonsingleton_dimensions( const int64_t ndims, const int64_t *shape ) { int64_t n; int64_t i;