Skip to content

Commit 11c3fda

Browse files
committed
Auto-generated commit
1 parent e6bf0b3 commit 11c3fda

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

CHANGELOG.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-09-19)
7+
## Unreleased (2025-09-29)
88

99
<section class="features">
1010

@@ -20,9 +20,9 @@
2020

2121
### Closed Issues
2222

23-
A total of 2 issues were closed in this release:
23+
A total of 3 issues were closed in this release:
2424

25-
[#6053](https://github.com/stdlib-js/stdlib/issues/6053), [#6236](https://github.com/stdlib-js/stdlib/issues/6236)
25+
[#6053](https://github.com/stdlib-js/stdlib/issues/6053), [#6236](https://github.com/stdlib-js/stdlib/issues/6236), [#8156](https://github.com/stdlib-js/stdlib/issues/8156)
2626

2727
</section>
2828

@@ -34,6 +34,7 @@ A total of 2 issues were closed in this release:
3434

3535
<details>
3636

37+
- [`29d3bbb`](https://github.com/stdlib-js/stdlib/commit/29d3bbb5241884d149b000c3a76d59227686728f) - **chore:** fix C lint errors [(#8157)](https://github.com/stdlib-js/stdlib/pull/8157) _(by GeoDaoyu, Athan Reines)_
3738
- [`d705c4c`](https://github.com/stdlib-js/stdlib/commit/d705c4ce5bd726a4be870909e5c62b87927858c5) - **refactor:** guard against `null` and `undefined` _(by Athan Reines)_
3839
- [`1908bae`](https://github.com/stdlib-js/stdlib/commit/1908bae6fe4852798ed12f620b59af50f762f2e5) - **feat:** add support for `struct` and `DataType` dtype values _(by Athan Reines)_
3940
- [`a464a60`](https://github.com/stdlib-js/stdlib/commit/a464a60568b819f813aff054ba0c32476192d269) - **chore:** fix EditorConfig lint errors [(#6246)](https://github.com/stdlib-js/stdlib/pull/6246) _(by MANI, Athan Reines)_
@@ -50,9 +51,10 @@ A total of 2 issues were closed in this release:
5051

5152
### Contributors
5253

53-
A total of 3 people contributed to this release. Thank you to the following contributors:
54+
A total of 4 people contributed to this release. Thank you to the following contributors:
5455

5556
- Athan Reines
57+
- GeoDaoyu
5658
- Kaushikgtm
5759
- MANI
5860

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ Yaswanth Kosuru <116426380+yaswanthkosuru@users.noreply.github.com>
223223
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
224224
Yugal Kaushik <yugalkaushik14@gmail.com>
225225
Yuvi Mittal <128018763+yuvi-mittal@users.noreply.github.com>
226+
Zuhair Ahmad <157193652+Zuhair-CS@users.noreply.github.com>
226227
deepak427 <62477872+deepak427@users.noreply.github.com>
227228
devshree-bhati <147095250+devshree-bhati@users.noreply.github.com>
228229
ditsu <170345142+ditsus@users.noreply.github.com>

include/stdlib/ndarray/base/bytes_per_element.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ enum STDLIB_NDARRAY_BYTES_PER_ELEMENT {
6565
/**
6666
* Returns the number of bytes per element for a provided data type.
6767
*/
68-
int64_t stdlib_ndarray_bytes_per_element( enum STDLIB_NDARRAY_DTYPE dtype );
68+
int64_t stdlib_ndarray_bytes_per_element( const enum STDLIB_NDARRAY_DTYPE dtype );
6969

7070
#ifdef __cplusplus
7171
}

src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* int64_t nbytes = stdlib_ndarray_bytes_per_element( STDLIB_NDARRAY_FLOAT64 );
3939
* // returns 8
4040
*/
41-
int64_t stdlib_ndarray_bytes_per_element( enum STDLIB_NDARRAY_DTYPE dtype ) {
41+
int64_t stdlib_ndarray_bytes_per_element( const enum STDLIB_NDARRAY_DTYPE dtype ) {
4242
switch ( dtype ) {
4343
case STDLIB_NDARRAY_FLOAT64:
4444
return STDLIB_NDARRAY_FLOAT64_BYTES_PER_ELEMENT;

0 commit comments

Comments
 (0)