Skip to content

Commit 2677c09

Browse files
committed
Auto-generated commit
1 parent 931dab9 commit 2677c09

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dist/index.js.map

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

lib/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ function nditerMatrixEntries( x ) {
128128
if ( N === 0 ) {
129129
FLG = true;
130130
}
131-
// Compute the number of rows across all stacks of matrices:
131+
// Compute the number of matrices across all stacks of matrices:
132132
N /= shape[ ndims-1 ] * shape[ ndims-2 ];
133133
dim = ndims - 3;
134134
S2 = shape[ dim ];
@@ -180,10 +180,10 @@ function nditerMatrixEntries( x ) {
180180
j = ( idx[ dim ] + 1 ) % S2;
181181
idx[ dim ] = j;
182182
if ( j === 0 ) {
183-
// If we've iterated over all the matrices in the current matrix, move on to the next matrix in the stack:
183+
// If we've iterated over all the matrices in the current stack, move on to the next set of matrices:
184184
idx = nextCartesianIndex( shape, 'row-major', idx, dim-1, idx );
185185
}
186-
// Return the next row entry:
186+
// Return the next matrix entry:
187187
return {
188188
'value': [ indices, slice( x, s, true, opts.writable ) ],
189189
'done': false

0 commit comments

Comments
 (0)