Skip to content

Commit ba46218

Browse files
authored
fix: update return value
Signed-off-by: Athan <[email protected]>
1 parent ac9a1c2 commit ba46218

File tree

1 file changed

+2
-1
lines changed
  • lib/node_modules/@stdlib/blas/ext/base/gcusumkbn2/lib

1 file changed

+2
-1
lines changed

lib/node_modules/@stdlib/blas/ext/base/gcusumkbn2/lib/ndarray.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ function gcusumkbn2( N, sum, x, strideX, offsetX, y, strideY, offsetY ) {
7474
ox = arraylike2object( x );
7575
oy = arraylike2object( y );
7676
if ( ox.accessorProtocol || oy.accessorProtocol ) {
77-
return accessors( N, sum, ox, strideX, offsetX, oy, strideY, offsetY );
77+
accessors( N, sum, ox, strideX, offsetX, oy, strideY, offsetY );
78+
return y;
7879
}
7980
ix = offsetX;
8081
iy = offsetY;

0 commit comments

Comments
 (0)