Skip to content

Commit a5f41d1

Browse files
authored
chore: clean-up
Signed-off-by: Shabareesh Shetty <[email protected]>
1 parent a2a37b8 commit a5f41d1

File tree

1 file changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/blas/base/zdscal/lib

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ var scale = require( '@stdlib/complex/float64/base/scale' ).strided;
4545
* // zx => <Complex128Array>[ 2.0, 4.0, 6.0, 8.0, 10.0, 12.0 ]
4646
*/
4747
function zdscal( N, da, zx, strideZX, offsetZX ) {
48-
var zx64;
48+
var view;
4949
var ix;
5050
var sx;
5151
var i;
@@ -54,14 +54,14 @@ function zdscal( N, da, zx, strideZX, offsetZX ) {
5454
return zx;
5555
}
5656
// Reinterpret the input array as a real-valued array of interleaved real and imaginary components:
57-
zx64 = reinterpret( zx, 0 );
57+
view = reinterpret( zx, 0 );
5858

5959
// Adjust the stride and offset accordingly:
6060
ix = offsetZX * 2;
6161
sx = strideZX * 2;
6262

6363
for ( i = 0; i < N; i++ ) {
64-
scale( da, zx64, 1, ix, zx64, 1, ix );
64+
scale( da, view, 1, ix, view, 1, ix );
6565
ix += sx;
6666
}
6767
return zx;

0 commit comments

Comments
 (0)