Skip to content

Commit b8871f0

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

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function sapxsumkbn2( N, alpha, x, strideX, offsetX ) {
6868
}
6969
ix = offsetX;
7070
if ( strideX === 0 ) {
71-
return float64ToFloat32( N * ( alpha + x[ ix ] ) );
71+
return float64ToFloat32( N * float64ToFloat32( alpha + x[ ix ] ) );
7272
}
7373
sum = 0.0;
7474
ccs = 0.0; // second order correction term for lost low order bits

0 commit comments

Comments
 (0)