Skip to content

Commit 2578b25

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

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
@@ -187,7 +187,7 @@ function blockedunary3d( fcn, arrays, views, strides, opts ) {
187187
}
188188
// Compute index offsets and loop offset increments for the first ndarray elements in the current block...
189189
for ( k = 0; k < N; k++ ) {
190-
iv[ k ] = ov1[k] + ( j1*sv[k][1] );
190+
ov1[ k ] = ov2[k] + ( j1*sv[k][1] );
191191
dv1[ k ] = sv[k][1] - ( s1*sv[k][0] );
192192
}
193193
for ( j0 = sh[0]; j0 > 0; ) {

0 commit comments

Comments
 (0)