Skip to content

Commit bc112f4

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

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/ndarray/base/unary-reduce-subarray/lib

1 file changed

+1
-1
lines changed

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

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

0 commit comments

Comments
 (0)