Skip to content

Commit 667dea7

Browse files
authored
chore: minor clean-up
Signed-off-by: Shabareesh Shetty <[email protected]>
1 parent 22b44fc commit 667dea7

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

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

5959
// Adjust the stride and offset accordingly:
6060
ix = offsetX * 2;

0 commit comments

Comments
 (0)