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

Skip to content
Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5c9bd88

Browse files
committed
Auto-generated commit
1 parent fb18b90 commit 5c9bd88

File tree

6 files changed

+16
-7
lines changed

6 files changed

+16
-7
lines changed

CHANGELOG.md

Lines changed: 4 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-04-26)
7+
## Unreleased (2025-05-06)
88

99
<section class="features">
1010

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

2121
### Bug Fixes
2222

23+
- [`aa86262`](https://github.com/stdlib-js/stdlib/commit/aa862629c2826d5f0b9e69c64264eea89ea1de7d) - use computed order
2324
- [`1e48327`](https://github.com/stdlib-js/stdlib/commit/1e48327f169d8cd8adf1177f92d5147077edbfe7) - handle zero-dimensional ndarrays
2425
- [`52f7ac2`](https://github.com/stdlib-js/stdlib/commit/52f7ac26eff82f57ccfca5a3b04c15dbacad074e) - use correct stride
2526
- [`96c7ddf`](https://github.com/stdlib-js/stdlib/commit/96c7ddfdbcecc6ff60fcb56681db16463d19020e) - use computed order and fix strides in examples
@@ -35,6 +36,8 @@
3536

3637
<details>
3738

39+
- [`5fcde08`](https://github.com/stdlib-js/stdlib/commit/5fcde08f9cce69278aa50f7aff8c17d5222df0af) - **style:** disable lint rule _(by Athan Reines)_
40+
- [`aa86262`](https://github.com/stdlib-js/stdlib/commit/aa862629c2826d5f0b9e69c64264eea89ea1de7d) - **fix:** use computed order _(by Athan Reines)_
3841
- [`2d63924`](https://github.com/stdlib-js/stdlib/commit/2d63924aea1ea500037ca025d8d405018907c8dd) - **docs:** update comment _(by Athan Reines)_
3942
- [`47f726c`](https://github.com/stdlib-js/stdlib/commit/47f726ce566a85f054035c662768653bae07d25a) - **chore:** resolve lint errors _(by Athan Reines)_
4043
- [`1e48327`](https://github.com/stdlib-js/stdlib/commit/1e48327f169d8cd8adf1177f92d5147077edbfe7) - **fix:** handle zero-dimensional ndarrays _(by Athan Reines)_

CONTRIBUTORS

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,15 @@ GK Bishnoi <gkishan1kyt@gmail.com>
5454
GURU PRASAD SHARMA <168292003+GURUPRASADSHARMA@users.noreply.github.com>
5555
Gaurav <gaurav70380@gmail.com>
5656
Gautam sharma <gautamkrishnasharma1@gmail.com>
57+
Girish Garg <garggirish2020@gmail.com>
5758
Golden Kumar <103646877+AuenKr@users.noreply.github.com>
5859
Gunj Joshi <gunjjoshi8372@gmail.com>
5960
Gururaj Gurram <gururajgurram1512@gmail.com>
6061
Haroon Rasheed <51189276+haroon26@users.noreply.github.com>
61-
Harsh <149176984+hrshya@users.noreply.github.com>
62+
Harsh <harshyadav6078@gmail.com>
6263
HarshaNP <96897754+GittyHarsha@users.noreply.github.com>
6364
Harshita Kalani <harshitakalani02@gmail.com>
65+
Hemang Choudhary <coehemang@gmail.com>
6466
Hemant M Mehta <92446645+hemantmm@users.noreply.github.com>
6567
Hridyanshu <124202756+HRIDYANSHU054@users.noreply.github.com>
6668
Jaimin Godhani <112328542+Jai0401@users.noreply.github.com>
@@ -86,6 +88,7 @@ Kohantika Nath <145763549+kohantikanath@users.noreply.github.com>
8688
Krishnam Agarwal <83017176+888krishnam@users.noreply.github.com>
8789
Krishnendu Das <86651039+itskdhere@users.noreply.github.com>
8890
Kshitij-Dale <152467202+Kshitij-Dale@users.noreply.github.com>
91+
Lalit Narayan Yadav <162928571+LalitNarayanYadav@users.noreply.github.com>
8992
Lovelin Dhoni J B <100030865+lovelindhoni@users.noreply.github.com>
9093
MANI <77221000+Eternity0207@users.noreply.github.com>
9194
Mahfuza Humayra Mohona <mhmohona@gmail.com>
@@ -190,3 +193,4 @@ pranav-1720 <123018993+pranav-1720@users.noreply.github.com>
190193
rahulrangers <127782777+rahulrangers@users.noreply.github.com>
191194
rainn <88160429+AmCodesLame@users.noreply.github.com>
192195
rei2hu <reimu@reimu.ws>
196+
zhanggy <geodaoyu@foxmail.com>

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ var isRealDataType = require( '@stdlib/ndarray-base-assert-is-real-data-type' );
2525
var isComplexArray = require( '@stdlib/array-base-assert-is-complex-typed-array' );
2626
var isBooleanArray = require( '@stdlib/array-base-assert-is-booleanarray' );
2727
var iterationOrder = require( '@stdlib/ndarray-base-iteration-order' );
28+
var strides2order = require( '@stdlib/ndarray-base-strides2order' );
2829
var castReturn = require( '@stdlib/complex-base-cast-return' );
2930
var complexCtors = require( '@stdlib/complex-ctors' );
3031
var minmaxViewBufferIndex = require( '@stdlib/ndarray-base-minmax-view-buffer-index' );
@@ -351,7 +352,7 @@ function assign( arrays ) {
351352
ioy = iterationOrder( sy ); // +/-1
352353

353354
// Determine whether we can avoid blocked iteration...
354-
if ( iox !== 0 && ioy !== 0 && iox === ioy ) {
355+
if ( iox !== 0 && ioy !== 0 && strides2order( sx ) === strides2order( sy ) ) { // eslint-disable-line max-len
355356
// Determine the minimum and maximum linear indices which are accessible by the array views:
356357
xmmv = minmaxViewBufferIndex( shx, sx, x.offset );
357358
ymmv = minmaxViewBufferIndex( shy, sy, y.offset );

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"@stdlib/ndarray-base-minmax-view-buffer-index": "^0.2.2",
5555
"@stdlib/ndarray-base-ndarraylike2object": "^0.2.2",
5656
"@stdlib/ndarray-base-numel": "^0.2.2",
57+
"@stdlib/ndarray-base-strides2order": "^0.2.2",
5758
"@stdlib/ndarray-base-unary-loop-interchange-order": "^0.2.1",
5859
"@stdlib/ndarray-base-unary-tiling-block-size": "^0.2.2",
5960
"@stdlib/ndarray-base-vind2bind": "^0.2.2",

0 commit comments

Comments
 (0)
0