From a8e48f2cf070c5ed06ff8389a72b5786c4c445e0 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Sun, 11 Aug 2024 09:52:04 +0000 Subject: [PATCH] Auto-generated commit --- CHANGELOG.md | 1 + iter/subarrays/lib/main.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 770229d9..8925be5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -883,6 +883,7 @@ A total of 4 people contributed to this release. Thank you to the following cont
+- [`7a4424b`](https://github.com/stdlib-js/stdlib/commit/7a4424bd81e212e9c7534520213b696c0c64c644) - **docs:** fix comment _(by Athan Reines)_ - [`873b085`](https://github.com/stdlib-js/stdlib/commit/873b085ae0183426f3e8e831a50a42e2df3ba13d) - **feat:** add `nditerSubarrays` to namespace _(by Athan Reines)_ - [`fd9a5c2`](https://github.com/stdlib-js/stdlib/commit/fd9a5c2e29508ab5b393e2273ddb7463be6affb3) - **feat:** add `ndarray/iter/subarrays` _(by Athan Reines)_ - [`46aec25`](https://github.com/stdlib-js/stdlib/commit/46aec25aac5d4a0c8a3fd7b719dd6a080e59beb8) - **feat:** add `nditerSelectDimension` to namespace _(by Athan Reines)_ diff --git a/iter/subarrays/lib/main.js b/iter/subarrays/lib/main.js index 7253515e..154fadbc 100644 --- a/iter/subarrays/lib/main.js +++ b/iter/subarrays/lib/main.js @@ -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: