Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Aug 11, 2024
1 parent b3d4c03 commit 9f550af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

<details>

- [`7a4424b`](https://github.com/stdlib-js/stdlib/commit/7a4424bd81e212e9c7534520213b696c0c64c644) - **docs:** fix comment _(by Athan Reines)_
- [`fd9a5c2`](https://github.com/stdlib-js/stdlib/commit/fd9a5c2e29508ab5b393e2273ddb7463be6affb3) - **feat:** add `ndarray/iter/subarrays` _(by Athan Reines)_

</details>
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ function nditerSubarrays( x, ndims ) {
j = ( idx[ dim ] + 1 ) % S;
idx[ dim ] = j;
if ( j === 0 ) {
// If we've iterated over all the matrices in the current stack, move on to the next set of matrices:
// If we've iterated over all the subarrays in the current stack, move on to the next set of subarrays:
idx = nextCartesianIndex( shape, 'row-major', idx, dim-1, idx );
}
// Return the next slice:
Expand Down

0 comments on commit 9f550af

Please sign in to comment.