Skip to content

Commit 486a493

Browse files
authored
fix: apply suggestions from code review
Signed-off-by: Muhammad Haris <[email protected]>
1 parent 4e3f79f commit 486a493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/ndarray/base/unary-reduce-subarray/lib/3d_blocked_accessors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ function blockedunary3d( fcn, arrays, views, strides, opts ) {
208208
}
209209
// Compute index offsets and loop offset increments for the first ndarray elements in the current block...
210210
for ( k = 0; k < N; k++ ) {
211-
iv[ k ] = ov2[k] + ( j0*sv[k][0] );
211+
iv[ k ] = ov1[k] + ( j0*sv[k][0] );
212212
dv2[ k ] = sv[k][2] - ( s0*sv[k][0] );
213213
}
214214
// Iterate over the non-reduced ndarray dimensions...

0 commit comments

Comments
 (0)