Skip to content

Commit 666e4df

Browse files
committed
Auto-generated commit
1 parent 24ee9ec commit 666e4df

File tree

7 files changed

+9
-8
lines changed

7 files changed

+9
-8
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -584,9 +584,9 @@
584584

585585
### Closed Issues
586586

587-
A total of 25 issues were closed in this release:
587+
A total of 26 issues were closed in this release:
588588

589-
[#5526](https://github.com/stdlib-js/stdlib/issues/5526), [#5788](https://github.com/stdlib-js/stdlib/issues/5788), [#5960](https://github.com/stdlib-js/stdlib/issues/5960), [#6053](https://github.com/stdlib-js/stdlib/issues/6053), [#6236](https://github.com/stdlib-js/stdlib/issues/6236), [#6456](https://github.com/stdlib-js/stdlib/issues/6456), [#6457](https://github.com/stdlib-js/stdlib/issues/6457), [#6473](https://github.com/stdlib-js/stdlib/issues/6473), [#6521](https://github.com/stdlib-js/stdlib/issues/6521), [#6574](https://github.com/stdlib-js/stdlib/issues/6574), [#6589](https://github.com/stdlib-js/stdlib/issues/6589), [#6604](https://github.com/stdlib-js/stdlib/issues/6604), [#6663](https://github.com/stdlib-js/stdlib/issues/6663), [#6776](https://github.com/stdlib-js/stdlib/issues/6776), [#6933](https://github.com/stdlib-js/stdlib/issues/6933), [#7114](https://github.com/stdlib-js/stdlib/issues/7114), [#7135](https://github.com/stdlib-js/stdlib/issues/7135), [#7215](https://github.com/stdlib-js/stdlib/issues/7215), [#7296](https://github.com/stdlib-js/stdlib/issues/7296), [#7395](https://github.com/stdlib-js/stdlib/issues/7395), [#7554](https://github.com/stdlib-js/stdlib/issues/7554), [#7626](https://github.com/stdlib-js/stdlib/issues/7626), [#7767](https://github.com/stdlib-js/stdlib/issues/7767), [#7973](https://github.com/stdlib-js/stdlib/issues/7973), [#8129](https://github.com/stdlib-js/stdlib/issues/8129)
589+
[#5526](https://github.com/stdlib-js/stdlib/issues/5526), [#5788](https://github.com/stdlib-js/stdlib/issues/5788), [#5960](https://github.com/stdlib-js/stdlib/issues/5960), [#6053](https://github.com/stdlib-js/stdlib/issues/6053), [#6236](https://github.com/stdlib-js/stdlib/issues/6236), [#6456](https://github.com/stdlib-js/stdlib/issues/6456), [#6457](https://github.com/stdlib-js/stdlib/issues/6457), [#6473](https://github.com/stdlib-js/stdlib/issues/6473), [#6521](https://github.com/stdlib-js/stdlib/issues/6521), [#6574](https://github.com/stdlib-js/stdlib/issues/6574), [#6589](https://github.com/stdlib-js/stdlib/issues/6589), [#6604](https://github.com/stdlib-js/stdlib/issues/6604), [#6663](https://github.com/stdlib-js/stdlib/issues/6663), [#6776](https://github.com/stdlib-js/stdlib/issues/6776), [#6933](https://github.com/stdlib-js/stdlib/issues/6933), [#7114](https://github.com/stdlib-js/stdlib/issues/7114), [#7135](https://github.com/stdlib-js/stdlib/issues/7135), [#7215](https://github.com/stdlib-js/stdlib/issues/7215), [#7296](https://github.com/stdlib-js/stdlib/issues/7296), [#7395](https://github.com/stdlib-js/stdlib/issues/7395), [#7554](https://github.com/stdlib-js/stdlib/issues/7554), [#7626](https://github.com/stdlib-js/stdlib/issues/7626), [#7767](https://github.com/stdlib-js/stdlib/issues/7767), [#7973](https://github.com/stdlib-js/stdlib/issues/7973), [#8129](https://github.com/stdlib-js/stdlib/issues/8129), [#8156](https://github.com/stdlib-js/stdlib/issues/8156)
590590

591591
</section>
592592

@@ -598,6 +598,7 @@ A total of 25 issues were closed in this release:
598598

599599
<details>
600600

601+
- [`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)_
601602
- [`6760298`](https://github.com/stdlib-js/stdlib/commit/6760298d2f7e38a975e2f27b24edb0d258c9c218) - **feat:** add `ndarray/pop` [(#8145)](https://github.com/stdlib-js/stdlib/pull/8145) _(by Muhammad Haris, Athan Reines)_
602603
- [`23d7b87`](https://github.com/stdlib-js/stdlib/commit/23d7b87841cfebba942d5c35728dcd28a8336159) - **docs:** update example _(by Athan Reines)_
603604
- [`bf71563`](https://github.com/stdlib-js/stdlib/commit/bf7156340c62ef965aaa6f08bf156d8b414f8e96) - **docs:** update example _(by Athan Reines)_

base/assert/is-single-segment-compatible/include/stdlib/ndarray/base/assert/is_single_segment_compatible.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ extern "C" {
3232
/**
3333
* Determines if an array is compatible with a single memory segment.
3434
*/
35-
int8_t stdlib_ndarray_is_single_segment_compatible( enum STDLIB_NDARRAY_DTYPE dtype, int64_t ndims, int64_t *shape, int64_t *strides, int64_t offset );
35+
int8_t stdlib_ndarray_is_single_segment_compatible( const enum STDLIB_NDARRAY_DTYPE dtype, const int64_t ndims, const int64_t *shape, const int64_t *strides, const int64_t offset );
3636

3737
#ifdef __cplusplus
3838
}

base/assert/is-single-segment-compatible/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
* int8_t b = stdlib_ndarray_is_single_segment_compatible( STDLIB_NDARRAY_UINT8, ndims, shape, strides, offset );
5050
* // returns 1
5151
*/
52-
int8_t stdlib_ndarray_is_single_segment_compatible( enum STDLIB_NDARRAY_DTYPE dtype, int64_t ndims, int64_t *shape, int64_t *strides, int64_t offset ) {
52+
int8_t stdlib_ndarray_is_single_segment_compatible( const enum STDLIB_NDARRAY_DTYPE dtype, const int64_t ndims, const int64_t *shape, const int64_t *strides, const int64_t offset ) {
5353
int64_t tmp[2];
5454
int64_t nbytes;
5555
int64_t len;

base/bytes-per-element/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
}

base/bytes-per-element/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;

base/numel/include/stdlib/ndarray/base/numel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ extern "C" {
3131
/**
3232
* Returns the number of elements in an array.
3333
*/
34-
int64_t stdlib_ndarray_numel( int64_t ndims, int64_t *shape );
34+
int64_t stdlib_ndarray_numel( const int64_t ndims, const int64_t *shape );
3535

3636
#ifdef __cplusplus
3737
}

base/numel/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
* int64_t n = stdlib_ndarray_numel( ndims, shape );
3636
* // returns 80
3737
*/
38-
int64_t stdlib_ndarray_numel( int64_t ndims, int64_t *shape ) {
38+
int64_t stdlib_ndarray_numel( const int64_t ndims, const int64_t *shape ) {
3939
int64_t n;
4040
int64_t i;
4141

0 commit comments

Comments
 (0)