8000 Auto-generated commit · stdlib-js/ndarray-base-assign@7f4bb50 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7f4bb50

Browse files
committed
Auto-generated commit
1 parent 8e9ef37 commit 7f4bb50

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.editorconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ indent_style = tab
8686
[*.{f,f.txt}]
8787
indent_style = space
8888
indent_size = 2
89-
insert_final_newline = false
9089

9190
# Set properties for shell files:
9291
[*.{sh,sh.txt}]

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGELOG.md

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

7-
## Unreleased (2025-01-13)
7+
## Unreleased (2025-01-17)
88

99
<section class="features">
1010

@@ -20,6 +20,7 @@
2020

2121
### Bug Fixes
2222

23+
- [`52f7ac2`](https://github.com/stdlib-js/stdlib/commit/52f7ac26eff82f57ccfca5a3b04c15dbacad074e) - use correct stride
2324
- [`96c7ddf`](https://github.com/stdlib-js/stdlib/commit/96c7ddfdbcecc6ff60fcb56681db16463d19020e) - use computed order and fix strides in examples
2425
- [`cf3f92e`](https://github.com/stdlib-js/stdlib/commit/cf3f92eddd20ec1a4106c8a34f7d7705a9a99dbc) - update include paths
2526

@@ -33,6 +34,7 @@
3334

3435
<details>
3536

37+
- [`52f7ac2`](https://github.com/stdlib-js/stdlib/commit/52f7ac26eff82f57ccfca5a3b04c15dbacad074e) - **fix:** use correct stride _(by Athan Reines)_
3638
- [`9f49cfb`](https://github.com/stdlib-js/stdlib/commit/9f49cfb0e8047348ee5dc24d64bf82afbc7ca644) - **docs:** fix description _(by Athan Reines)_
3739
- [`f387603`](https://github.com/stdlib-js/stdlib/commit/f387603e739f88a38af3263ce6ff675ad903ee8c) - **docs:** consistently use declarative instead of imperative sentences outside of intros _(by Philipp Burckhardt)_
3840
- [`96c7ddf`](https://github.com/stdlib-js/stdlib/commit/96c7ddfdbcecc6ff60fcb56681db16463d19020e) - **fix:** use computed order and fix strides in examples _(by Athan Reines)_

src/dispatch.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ static int8_t stdlib_ndarray_unary_assign_1d_flatten( const ndarrayUnaryAssignFc
105105
int64_t sh[] = { N };
106106

107107
// Shallow copy and reshape the arrays...
108-
int64_t sx1[] = { s2 };
108+
int64_t sx1[] = { s1 };
109109
struct ndarray *x1c = stdlib_ndarray_allocate(
110110
stdlib_ndarray_dtype( x1 ),
111111
stdlib_ndarray_data( x1 ),
@@ -245,6 +245,8 @@ static int8_t stdlib_ndarray_unary_assign_1d_flatten( const ndarrayUnaryAssignFc
245245
* }
246246
*/
247247
int8_t stdlib_ndarray_unary_assign_dispatch( const struct ndarrayUnaryAssignDispatchObject *obj, struct ndarray *arrays[] ) {
248+
const int64_t *sh1;
249+
const int64_t *sh2;
248250
struct ndarray *x1;
249251
struct ndarray *x2;
250252
int8_t status;
@@ -253,8 +255,6 @@ int8_t stdlib_ndarray_unary_assign_dispatch( const struct ndarrayUnaryAssignDisp
253255
int64_t mab2;
254256
int64_t mib1;
255257
int64_t mib2;
256-
int64_t *sh1;
257-
int64_t *sh2;
258258
int64_t *s1;
259259
int64_t *s2;
260260
int64_t len;

0 commit comments

Comments
 (0)
0