Skip to content

Commit 90a31af

Browse files
committed
Auto-generated commit
1 parent a6c581b commit 90a31af

22 files changed

+110
-107
lines changed

CHANGELOG.md

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

7-
## Unreleased (2025-05-08)
7+
## Unreleased (2025-05-12)
88

99
<section class="bug-fixes">
1010

1111
### Bug Fixes
1212

13+
- [`99be29d`](https://github.com/stdlib-js/stdlib/commit/99be29d87a59460302f43792e0f24b4dbe128dab) - account for loop tiling when generating list of indices
1314
- [`f10dd8c`](https://github.com/stdlib-js/stdlib/commit/f10dd8ccbd1c245467d156a1b87f5eb2ba47e0ad) - use resolved order when computing loop variables
1415
- [`4e6b2eb`](https://github.com/stdlib-js/stdlib/commit/4e6b2eb39e01d193302cd93ebf93dd2f42c71291) - update type for indices
1516
- [`c57d1d8`](https://github.com/stdlib-js/stdlib/commit/c57d1d880a32cfaff0c57744c81ef641640cddef) - return subscripts from perspective of ndarray view, not buffer
@@ -24,6 +25,7 @@
2425

2526
<details>
2627

28+
- [`99be29d`](https://github.com/stdlib-js/stdlib/commit/99be29d87a59460302f43792e0f24b4dbe128dab) - **fix:** account for loop tiling when generating list of indices _(by Athan Reines)_
2729
- [`f10dd8c`](https://github.com/stdlib-js/stdlib/commit/f10dd8ccbd1c245467d156a1b87f5eb2ba47e0ad) - **fix:** use resolved order when computing loop variables _(by Athan Reines)_
2830
- [`abf0407`](https://github.com/stdlib-js/stdlib/commit/abf040787f6598438b0100a729a8331b7f80f62f) - **chore:** resolve lint errors in TS files _(by Philipp Burckhardt)_
2931
- [`e261bc2`](https://github.com/stdlib-js/stdlib/commit/e261bc2c64bb3ac5236abc447b9ae3f40acf31ab) - **docs:** fix strides _(by Athan Reines)_

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ Utkarsh <http://utkarsh11105@gmail.com>
174174
Utkarsh Raj <rajutkarsh2505@gmail.com>
175175
UtkershBasnet <119008923+UtkershBasnet@users.noreply.github.com>
176176
Vaibhav Patel <98279986+noobCoderVP@users.noreply.github.com>
177+
Vara Rahul Rajana <123227543+rajanarahul93@users.noreply.github.com>
177178
Varad Gupta <varadgupta21@gmail.com>
178179
Vinit Pandit <106718914+MeastroZI@users.noreply.github.com>
179180
Vivek Maurya <vm8118134@gmail.com>

dist/index.js

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

dist/index.js.map

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

lib/10d_blocked.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ function blockedforEach10d( x, fcn, thisArg ) { // eslint-disable-line max-state
271271
for ( i2 = 0; i2 < s2; i2++ ) {
272272
for ( i1 = 0; i1 < s1; i1++ ) {
273273
for ( i0 = 0; i0 < s0; i0++ ) {
274-
fcn.call( thisArg, xbuf[ ix ], take( [ i9, i8, i7, i6, i5, i4, i3, i2, i1, i0 ], idx ), x.ref );
274+
fcn.call( thisArg, xbuf[ ix ], take( [ j9+i9, j8+i8, j7+i7, j6+i6, j5+i5, j4+i4, j3+i3, j2+i2, j1+i1, j0+i0 ], idx ), x.ref );
275275
ix += dx0;
276276
}
277277
ix += dx1;

lib/10d_blocked_accessors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ function blockedforEach10d( x, fcn, thisArg ) { // eslint-disable-line max-state
289289
for ( i2 = 0; i2 < s2; i2++ ) {
290290
for ( i1 = 0; i1 < s1; i1++ ) {
291291
for ( i0 = 0; i0 < s0; i0++ ) {
292-
fcn.call( thisArg, get( xbuf, ix ), take( [ i9, i8, i7, i6, i5, i4, i3, i2, i1, i0 ], idx ), x.ref );
292+
fcn.call( thisArg, get( xbuf, ix ), take( [ j9+i9, j8+i8, j7+i7, j6+i6, j5+i5, j4+i4, j3+i3, j2+i2, j1+i1, j0+i0 ], idx ), x.ref );
293293
ix += dx0;
294294
}
295295
ix += dx1;

lib/2d_blocked.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ function blockedforEach2d( x, fcn, thisArg ) {
141141
// Iterate over the ndarray dimensions...
142142
for ( i1 = 0; i1 < s1; i1++ ) {
143143
for ( i0 = 0; i0 < s0; i0++ ) {
144-
fcn.call( thisArg, xbuf[ ix ], take( [ i1, i0 ], idx ), x.ref ); // eslint-disable-line max-len
144+
fcn.call( thisArg, xbuf[ ix ], take( [ j1+i1, j0+i0 ], idx ), x.ref ); // eslint-disable-line max-len
145145
ix += dx0;
146146
}
147147
ix += dx1;

lib/2d_blocked_accessors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function blockedforEach2d( x, fcn, thisArg ) {
159159
// Iterate over the ndarray dimensions...
160160
for ( i1 = 0; i1 < s1; i1++ ) {
161161
for ( i0 = 0; i0 < s0; i0++ ) {
162-
fcn.call( thisArg, get( xbuf, ix ), take( [ i1, i0 ], idx ), x.ref ); // eslint-disable-line max-len
162+
fcn.call( thisArg, get( xbuf, ix ), take( [ j1+i1, j0+i0 ], idx ), x.ref ); // eslint-disable-line max-len
163163
ix += dx0;
164164
}
165165
ix += dx1;

lib/3d_blocked.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function blockedforEach3d( x, fcn, thisArg ) {
159159
for ( i2 = 0; i2 < s2; i2++ ) {
160160
for ( i1 = 0; i1 < s1; i1++ ) {
161161
for ( i0 = 0; i0 < s0; i0++ ) {
162-
fcn.call( thisArg, xbuf[ ix ], take( [ i2, i1, i0 ], idx ), x.ref ); // eslint-disable-line max-len
162+
fcn.call( thisArg, xbuf[ ix ], take( [ j2+i2, j1+i1, j0+i0 ], idx ), x.ref ); // eslint-disable-line max-len
163163
ix += dx0;
164164
}
165165
ix += dx1;

lib/3d_blocked_accessors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ function blockedforEach3d( x, fcn, thisArg ) {
177177
for ( i2 = 0; i2 < s2; i2++ ) {
178178
for ( i1 = 0; i1 < s1; i1++ ) {
179179
for ( i0 = 0; i0 < s0; i0++ ) {
180-
fcn.call( thisArg, get( xbuf, ix ), take( [ i2, i1, i0 ], idx ), x.ref ); // eslint-disable-line max-len
180+
fcn.call( thisArg, get( xbuf, ix ), take( [ j2+i2, j1+i1, j0+i0 ], idx ), x.ref ); // eslint-disable-line max-len
181181
ix += dx0;
182182
}
183183
ix += dx1;

lib/4d_blocked.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ function blockedforEach4d( x, fcn, thisArg ) {
175175
for ( i2 = 0; i2 < s2; i2++ ) {
176176
for ( i1 = 0; i1 < s1; i1++ ) {
177177
for ( i0 = 0; i0 < s0; i0++ ) {
178-
fcn.call( thisArg, xbuf[ ix ], take( [ i3, i2, i1, i0 ], idx ), x.ref ); // eslint-disable-line max-len
178+
fcn.call( thisArg, xbuf[ ix ], take( [ j3+i3, j2+i2, j1+i1, j0+i0 ], idx ), x.ref ); // eslint-disable-line max-len
179179
ix += dx0;
180180
}
181181
ix += dx1;

lib/4d_blocked_accessors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ function blockedforEach4d( x, fcn, thisArg ) {
193193
for ( i2 = 0; i2 < s2; i2++ ) {
194194
for ( i1 = 0; i1 < s1; i1++ ) {
195195
for ( i0 = 0; i0 < s0; i0++ ) {
196-
fcn.call( thisArg, get( xbuf, ix ), take( [ i3, i2, i1, i0 ], idx ), x.ref ); // eslint-disable-line max-len
196+
fcn.call( thisArg, get( xbuf, ix ), take( [ j3+i3, j2+i2, j1+i1, j0+i0 ], idx ), x.ref ); // eslint-disable-line max-len
197197
ix += dx0;
198198
}
199199
ix += dx1;

lib/5d_blocked.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ function blockedforEach5d( x, fcn, thisArg ) {
191191
for ( i2 = 0; i2 < s2; i2++ ) {
192192
for ( i1 = 0; i1 < s1; i1++ ) {
193193
for ( i0 = 0; i0 < s0; i0++ ) {
194-
fcn.call( thisArg, xbuf[ ix ], take( [ i4, i3, i2, i1, i0 ], idx ), x.ref ); // eslint-disable-line max-len
194+
fcn.call( thisArg, xbuf[ ix ], take( [ j4+i4, j3+i3, j2+i2, j1+i1, j0+i0 ], idx ), x.ref ); // eslint-disable-line max-len
195195
ix += dx0;
196196
}
197197
ix += dx1;

lib/5d_blocked_accessors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ function blockedforEach5d( x, fcn, thisArg ) {
209209
for ( i2 = 0; i2 < s2; i2++ ) {
210210
for ( i1 = 0; i1 < s1; i1++ ) {
211211
for ( i0 = 0; i0 < s0; i0++ ) {
212-
fcn.call( thisArg, get( xbuf, ix ), take( [ i4, i3, i2, i1, i0 ], idx ), x.ref ); // eslint-disable-line max-len
212+
fcn.call( thisArg, get( xbuf, ix ), take( [ j4+i4, j3+i3, j2+i2, j1+i1, j0+i0 ], idx ), x.ref ); // eslint-disable-line max-len
213213
ix += dx0;
214214
}
215215
ix += dx1;

lib/6d_blocked.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ function blockedforEach6d( x, fcn, thisArg ) { // eslint-disable-line max-statem
207207
for ( i2 = 0; i2 < s2; i2++ ) {
208208
for ( i1 = 0; i1 < s1; i1++ ) {
209209
for ( i0 = 0; i0 < s0; i0++ ) {
210-
fcn.call( thisArg, xbuf[ ix ], take( [ i5, i4, i3, i2, i1, i0 ], idx ), x.ref ); // eslint-disable-line max-len
210+
fcn.call( thisArg, xbuf[ ix ], take( [ j5+i5, j4+i4, j3+i3, j2+i2, j1+i1, j0+i0 ], idx ), x.ref ); // eslint-disable-line max-len
211211
ix += dx0;
212212
}
213213
ix += dx1;

lib/6d_blocked_accessors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ function blockedforEach6d( x, fcn, thisArg ) { // eslint-disable-line max-statem
225225
for ( i2 = 0; i2 < s2; i2++ ) {
226226
for ( i1 = 0; i1 < s1; i1++ ) {
227227
for ( i0 = 0; i0 < s0; i0++ ) {
228-
fcn.call( thisArg, get( xbuf, ix ), take( [ i5, i4, i3, i2, i1, i0 ], idx ), x.ref ); // eslint-disable-line max-len
228+
fcn.call( thisArg, get( xbuf, ix ), take( [ j5+i5, j4+i4, j3+i3, j2+i2, j1+i1, j0+i0 ], idx ), x.ref ); // eslint-disable-line max-len
229229
ix += dx0;
230230
}
231231
ix += dx1;

lib/7d_blocked.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ function blockedforEach7d( x, fcn, thisArg ) { // eslint-disable-line max-statem
223223
for ( i2 = 0; i2 < s2; i2++ ) {
224224
for ( i1 = 0; i1 < s1; i1++ ) {
225225
for ( i0 = 0; i0 < s0; i0++ ) {
226-
fcn.call( thisArg, xbuf[ ix ], take( [ i6, i5, i4, i3, i2, i1, i0 ], idx ), x.ref );
226+
fcn.call( thisArg, xbuf[ ix ], take( [ j6+i6, j5+i5, j4+i4, j3+i3, j2+i2, j1+i1, j0+i0 ], idx ), x.ref );
227227
ix += dx0;
228228
}
229229
ix += dx1;

lib/7d_blocked_accessors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ function blockedforEach7d( x, fcn, thisArg ) { // eslint-disable-line max-statem
241241
for ( i2 = 0; i2 < s2; i2++ ) {
242242
for ( i1 = 0; i1 < s1; i1++ ) {
243243
for ( i0 = 0; i0 < s0; i0++ ) {
244-
fcn.call( thisArg, get( xbuf, ix ), take( [ i6, i5, i4, i3, i2, i1, i0 ], idx ), x.ref );
244+
fcn.call( thisArg, get( xbuf, ix ), take( [ j6+i6, j5+i5, j4+i4, j3+i3, j2+i2, j1+i1, j0+i0 ], idx ), x.ref );
245245
ix += dx0;
246246
}
247247
ix += dx1;

lib/8d_blocked.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ function blockedforEach8d( x, fcn, thisArg ) { // eslint-disable-line max-statem
239239
for ( i2 = 0; i2 < s2; i2++ ) {
240240
for ( i1 = 0; i1 < s1; i1++ ) {
241241
for ( i0 = 0; i0 < s0; i0++ ) {
242-
fcn.call( thisArg, xbuf[ ix ], take( [ i7, i6, i5, i4, i3, i2, i1, i0 ], idx ), x.ref );
242+
fcn.call( thisArg, xbuf[ ix ], take( [ j7+i7, j6+i6, j5+i5, j4+i4, j3+i3, j2+i2, j1+i1, j0+i0 ], idx ), x.ref );
243243
ix += dx0;
244244
}
245245
ix += dx1;

lib/8d_blocked_accessors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ function blockedforEach8d( x, fcn, thisArg ) { // eslint-disable-line max-statem
257257
for ( i2 = 0; i2 < s2; i2++ ) {
258258
for ( i1 = 0; i1 < s1; i1++ ) {
259259
for ( i0 = 0; i0 < s0; i0++ ) {
260-
fcn.call( thisArg, get( xbuf, ix ), take( [ i7, i6, i5, i4, i3, i2, i1, i0 ], idx ), x.ref );
260+
fcn.call( thisArg, get( xbuf, ix ), take( [ j7+i7, j6+i6, j5+i5, j4+i4, j3+i3, j2+i2, j1+i1, j0+i0 ], idx ), x.ref );
261261
ix += dx0;
262262
}
263263
ix += dx1;

lib/9d_blocked.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ function blockedforEach9d( x, fcn, thisArg ) { // eslint-disable-line max-statem
255255
for ( i2 = 0; i2 < s2; i2++ ) {
256256
for ( i1 = 0; i1 < s1; i1++ ) {
257257
for ( i0 = 0; i0 < s0; i0++ ) {
258-
fcn.call( thisArg, xbuf[ ix ], take( [ i8, i7, i6, i5, i4, i3, i2, i1, i0 ], idx ), x.ref );
258+
fcn.call( thisArg, xbuf[ ix ], take( [ j8+i8, j7+i7, j6+i6, j5+i5, j4+i4, j3+i3, j2+i2, j1+i1, j0+i0 ], idx ), x.ref );
259259
ix += dx0;
260260
}
261261
ix += dx1;

lib/9d_blocked_accessors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ function blockedforEach9d( x, fcn, thisArg ) { // eslint-disable-line max-statem
273273
for ( i2 = 0; i2 < s2; i2++ ) {
274274
for ( i1 = 0; i1 < s1; i1++ ) {
275275
for ( i0 = 0; i0 < s0; i0++ ) {
276-
fcn.call( thisArg, get( xbuf, ix ), take( [ i8, i7, i6, i5, i4, i3, i2, i1, i0 ], idx ), x.ref );
276+
fcn.call( thisArg, get( xbuf, ix ), take( [ j8+i8, j7+i7, j6+i6, j5+i5, j4+i4, j3+i3, j2+i2, j1+i1, j0+i0 ], idx ), x.ref );
277277
ix += dx0;
278278
}
279279
ix += dx1;

0 commit comments

Comments
 (0)