From 4cb91e6d0b00bfc5bb71449172c844b8a390b162 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Thu, 3 Oct 2024 02:05:45 +0000 Subject: [PATCH] Auto-generated commit --- CHANGELOG.md | 3 ++- CONTRIBUTORS | 2 +- base/broadcast-shapes/README.md | 2 +- base/broadcast-shapes/src/main.c | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b505d4c..98346f0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@
-## Unreleased (2024-09-29) +## Unreleased (2024-10-03)
@@ -321,6 +321,7 @@ A total of 3 people contributed to this release. Thank you to the following cont
+- [`99cca3d`](https://github.com/stdlib-js/stdlib/commit/99cca3dc8a07ef39b9821468b8a0f7a4d6cacf72) - **chore:** declare parameter as const array _(by Philipp Burckhardt)_ - [`2c4e5d8`](https://github.com/stdlib-js/stdlib/commit/2c4e5d824e0c5dc8fd536bf79ff565cee100ce46) - **build:** disable additional lint rule in TS tests _(by Philipp Burckhardt)_ - [`abf0407`](https://github.com/stdlib-js/stdlib/commit/abf040787f6598438b0100a729a8331b7f80f62f) - **chore:** resolve lint errors in TS files _(by Philipp Burckhardt)_ - [`7f368f6`](https://github.com/stdlib-js/stdlib/commit/7f368f6c3f4cea444a304a62616cea36a5f143eb) - **fix:** remove unused imports from TS declaration file _(by Philipp Burckhardt)_ diff --git a/CONTRIBUTORS b/CONTRIBUTORS index e7469a9e..d74d10f3 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -2,7 +2,7 @@ # # Contributors listed in alphabetical order. -Aayush Khanna <96649223+aayush0325@users.noreply.github.com> +Aayush Khanna Adarsh Palaskar Aditya Sapra AgPriyanshu18 <113460573+AgPriyanshu18@users.noreply.github.com> diff --git a/base/broadcast-shapes/README.md b/base/broadcast-shapes/README.md index e67d4440..83103218 100644 --- a/base/broadcast-shapes/README.md +++ b/base/broadcast-shapes/README.md @@ -311,7 +311,7 @@ The function accepts the following arguments: - **out**: `[out] int64_t*` output shape array. ```c -int8_t stdlib_ndarray_broadcast_shapes( int64_t M, int64_t *shapes[], int64_t ndims[], int64_t *out ); +int8_t stdlib_ndarray_broadcast_shapes( int64_t M, int64_t *shapes[], const int64_t ndims[], int64_t *out ); ``` If successful, the function returns `0`; otherwise, the function returns `-1` (e.g., due to incompatible shapes). diff --git a/base/broadcast-shapes/src/main.c b/base/broadcast-shapes/src/main.c index 35a36540..ca983c82 100644 --- a/base/broadcast-shapes/src/main.c +++ b/base/broadcast-shapes/src/main.c @@ -55,7 +55,7 @@ * int64_t out[] = { 0, 0, 0, 0 }; * int8_t status = stdlib_ndarray_broadcast_shapes( 2, shapes, ndims, out ); */ -int8_t stdlib_ndarray_broadcast_shapes( int64_t M, int64_t *shapes[], int64_t ndims[], int64_t *out ) { +int8_t stdlib_ndarray_broadcast_shapes( int64_t M, int64_t *shapes[], const int64_t ndims[], int64_t *out ) { int64_t dim; int64_t *sh; int64_t n1;