Skip to content

Commit e3f8c43

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

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function gcusumkbn( N, sum, x, strideX, offsetX, y, strideY, offsetY ) {
7171
}
7272
ox = arraylike2object( x );
7373
oy = arraylike2object( y );
74-
if ( ox.accessorProtocol && oy.accessorProtocol ) {
74+
if ( ox.accessorProtocol || oy.accessorProtocol ) {
7575
return accessors( N, sum, ox, strideX, offsetX, oy, strideY, offsetY );
7676
}
7777
ix = offsetX;

0 commit comments

Comments
 (0)