Skip to content

Commit a6beab5

Browse files
authored
fix: apply review suggestions
Signed-off-by: Muhammad Haris <[email protected]>
1 parent e1bb222 commit a6beab5

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function sapxsumkbn( N, alpha, x, strideX, offsetX ) {
6565
}
6666
ix = offsetX;
6767
if ( strideX === 0 ) {
68-
return float64ToFloat32( N * ( alpha + x[ix] ) );
68+
return float64ToFloat32( N * float64ToFloat32( alpha + x[ ix ] ) );
6969
}
7070
sum = 0.0;
7171
c = 0.0;

0 commit comments

Comments
 (0)