Skip to content

Commit 5b529dd

Browse files
authored
chore: update variable name
Signed-off-by: Shabareesh Shetty <[email protected]>
1 parent ac11ee6 commit 5b529dd

File tree

1 file changed

+8
-8
lines changed
  • lib/node_modules/@stdlib/blas/base/zcopy/src

1 file changed

+8
-8
lines changed

lib/node_modules/@stdlib/blas/base/zcopy/src/zcopy.f

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,19 @@
4848
! > * We will gladly answer any questions regarding the software. If a modification is done, however, it is the responsibility of the person who modified the routine to provide support.
4949
!
5050
! @param {integer} N - number of indexed elements
51-
! @param {Array<complex<double>>} zx - input array
52-
! @param {integer} strideX - `zx` stride length
53-
! @param {Array<complex<double>>} zy - output array
54-
! @param {integer} strideY - `zy` stride length
51+
! @param {Array<complex<double>>} x - input array
52+
! @param {integer} strideX - `x` stride length
53+
! @param {Array<complex<double>>} y - output array
54+
! @param {integer} strideY - `y` stride length
5555
!<
56-
subroutine zcopy( N, zx, strideX, zy, strideY )
56+
subroutine zcopy( N, x, strideX, y, strideY )
5757
implicit none
5858
! ..
5959
! Scalar arguments:
6060
integer :: strideX, strideY, N
6161
! ..
6262
! Array arguments:
63-
complex(kind=kind(0.0d0)) :: zx(*), zy(*)
63+
complex(kind=kind(0.0d0)) :: x(*), y(*)
6464
! ..
6565
! Local scalars:
6666
integer :: ix, iy, i
@@ -71,7 +71,7 @@ subroutine zcopy( N, zx, strideX, zy, strideY )
7171
! ..
7272
if ( strideX == 1 .AND. strideY == 1 ) then
7373
do i = 1, N
74-
zy( i ) = zx( i )
74+
y( i ) = x( i )
7575
end do
7676
else
7777
if ( strideX < 0 ) then
@@ -85,7 +85,7 @@ subroutine zcopy( N, zx, strideX, zy, strideY )
8585
iy = 1
8686
end if
8787
do i = 1, N
88-
zy( iy ) = zx( ix )
88+
y( iy ) = x( ix )
8989
ix = ix + strideX
9090
iy = iy + strideY
9191
end do

0 commit comments

Comments
 (0)