Skip to content

Commit 4e3f79f

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

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
@@ -195,7 +195,7 @@ function blockedunary3d( fcn, arrays, views, strides, opts ) {
195195
}
196196
// Compute index offsets and loop offset increments for the first ndarray elements in the current block...
197197
for ( k = 0; k < N; k++ ) {
198-
iv[ k ] = ov1[k] + ( j1*sv[k][1] );
198+
ov1[ k ] = ov2[k] + ( j1*sv[k][1] );
199199
dv1[ k ] = sv[k][1] - ( s1*sv[k][0] );
200200
}
201201
for ( j0 = sh[0]; j0 > 0; ) {

0 commit comments

Comments
 (0)