Skip to content

Commit f0fc9ed

Browse files
authored
fix: ensure correct return value
Signed-off-by: Athan <[email protected]>
1 parent a80399b commit f0fc9ed

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ function gnannsumkbn( N, x, strideX, offsetX, out, strideOut, offsetOut ) {
7575
ox = arraylike2object( x );
7676
oo = arraylike2object( out );
7777
if ( ox.accessorProtocol || oo.accessorProtocol ) {
78-
return accessors( N, ox, strideX, offsetX, oo, strideOut, offsetOut );
78+
accessors( N, ox, strideX, offsetX, oo, strideOut, offsetOut );
79+
return out;
7980
}
8081
ix = offsetX;
8182
if ( strideX === 0 ) {

0 commit comments

Comments
 (0)