Skip to content

Commit 8915071

Browse files
authored
refactor: apply review suggestion
Signed-off-by: Muhammad Haris <[email protected]>
1 parent db422d5 commit 8915071

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function gcusumkbn2( N, sum, x, strideX, offsetX, y, strideY, offsetY ) {
7373
}
7474
ox = arraylike2object( x );
7575
oy = arraylike2object( y );
76-
if ( ox.accessorProtocol && oy.accessorProtocol ) {
76+
if ( ox.accessorProtocol || oy.accessorProtocol ) {
7777
return accessors( N, sum, ox, strideX, offsetX, oy, strideY, offsetY );
7878
}
7979
ix = offsetX;

0 commit comments

Comments
 (0)