Skip to content

Commit f066573

Browse files
committed
small modifs
1 parent 1380207 commit f066573

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/LR/CVS_phRLR.f90

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ subroutine CVS_phRLR(TDA,nS,Aph,Bph,EcRPA,Om,XpY,XmY)
5959
allocate(complex_RPA_matrix(2*nS,2*nS))
6060

6161
complex_RPA_matrix = cmplx(0.0d0, 0.0d0, kind=8)
62-
complex_RPA_matrix(1:nS, 1:nS) = cmplx(RPA_matrix(:,:), 0.0d0, kind=8)
63-
complex_RPA_matrix = cmplx(RPA_matrix(:,:),RPA_matrix(:,:)*0d0,kind=8)
62+
complex_RPA_matrix = cmplx(RPA_matrix(:,:),0d0,kind=8)
6463

6564
deallocate(RPA_matrix)
6665

src/LR/CVS_phULR.f90

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ subroutine CVS_phULR(TDA,nSa,nSb,nSt,Aph,Bph,EcRPA,Om,XpY,XmY)
5959
allocate(complex_RPA_matrix(2*nSt,2*nSt))
6060

6161
complex_RPA_matrix = cmplx(0.0d0, 0.0d0, kind=8)
62-
complex_RPA_matrix(1:nSt, 1:nSt) = cmplx(RPA_matrix(:,:), 0.0d0, kind=8)
63-
complex_RPA_matrix = cmplx(RPA_matrix(:,:),RPA_matrix(:,:)*0d0,kind=8)
62+
complex_RPA_matrix = cmplx(RPA_matrix(:,:),0d0,kind=8)
6463

6564
deallocate(RPA_matrix)
6665

0 commit comments

Comments
 (0)