Skip to content

Commit c3a2ca6

Browse files
authored
refactor: rename variable in blas/base/sdot
PR-URL: #7210 Reviewed-by: Athan Reines <[email protected]>
1 parent 7ca5048 commit c3a2ca6

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/blas/base/sdot/lib

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/blas/base/sdot/lib/ndarray.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
// MODULES //
2222

23-
var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' );
23+
var f32 = require( '@stdlib/number/float64/base/to-float32' );
2424

2525

2626
// MAIN //
@@ -59,7 +59,7 @@ function sdot( N, x, strideX, offsetX, y, strideY, offsetY ) {
5959
ix = offsetX;
6060
iy = offsetY;
6161
for ( i = 0; i < N; i++ ) {
62-
dot = float64ToFloat32( dot + float64ToFloat32( x[ ix ] * y[ iy ] ) );
62+
dot = f32( dot + f32( x[ ix ] * y[ iy ] ) );
6363
ix += strideX;
6464
iy += strideY;
6565
}

0 commit comments

Comments
 (0)