Skip to content

Commit 950719b

Browse files
authored
fix: apply review suggestions
Signed-off-by: Muhammad Haris <[email protected]>
1 parent 9d12492 commit 950719b

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function sapxsumpw( N, alpha, x, strideX, offsetX ) {
8080
}
8181
ix = offsetX;
8282
if ( strideX === 0 ) {
83-
return float64ToFloat32( N * ( alpha + x[ ix ] ) );
83+
return float64ToFloat32( N * float64ToFloat32( alpha + x[ ix ] ) );
8484
}
8585
if ( N < 8 ) {
8686
// Use simple summation...

0 commit comments

Comments
 (0)