Skip to content

Commit fbbfaa7

Browse files
author
lburth
committed
adapt warnings in LR
1 parent 3961903 commit fbbfaa7

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/LR/CVS_phRLR.f90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ subroutine CVS_phRLR(TDA,nS,Aph,Bph,EcRPA,Om,XpY,XmY)
5353
call print_warning('We dont find a Om and -Om structure as solution of the RPA. There might be a problem somewhere.')
5454
write(*,*) "Maximal difference :", maxval(abs(OmOmminus(1:nS)+OmOmminus(nS+1:2*nS)))
5555
end if
56-
if(minval(real(OmOmminus(1:nS))) < 0d0) &
57-
call print_warning('You may have instabilities in linear response: A-B is not positive definite!!')
5856
if(maxval(abs(aimag(OmOmminus(:))))>1d-8)&
5957
call print_warning('You may have instabilities in linear response: complex excitation eigenvalue !')
6058
if(maxval(abs(aimag(RPA_matrix(1:2*nS,1:nS))))>1d-8) then

src/LR/CVS_phULR.f90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ subroutine CVS_phULR(TDA,nSa,nSb,nSt,Aph,Bph,EcRPA,Om,XpY,XmY)
5555
call print_warning('We dont find a Om and -Om structure as solution of the RPA. There might be a problem somewhere.')
5656
write(*,*) "Maximal difference :", maxval(abs(OmOmminus(1:nSt)+OmOmminus(nSt+1:2*nSt)))
5757
end if
58-
if(minval(real(OmOmminus(1:nSt))) < 0d0) &
59-
call print_warning('You may have instabilities in linear response: A-B is not positive definite!!')
6058
if(maxval(abs(aimag(OmOmminus(:))))>1d-8)&
6159
call print_warning('You may have instabilities in linear response: complex excitation eigenvalue !')
6260
if(maxval(aimag(RPA_matrix(1:2*nSt,1:nSt)))>1d-8) then

0 commit comments

Comments
 (0)