mirror of https://gitlab.com/QEF/q-e.git
pw2casino: better fix for energy bug (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6767 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
parent
dc8accb138
commit
f36b438e9f
|
@ -357,8 +357,7 @@ CONTAINS
|
|||
elocg = vloc(igtongl(ig),nt) * &
|
||||
dble ( strf(ig,nt) * conjg(aux(nl(ig))) )
|
||||
eloc = eloc + elocg
|
||||
IF( gamma_only .and. (ig>1.or.any(g(:,ig)/=0.d0)) ) &
|
||||
&eloc = eloc + elocg
|
||||
IF( gamma_only .and. ig>=gstart) eloc = eloc + elocg
|
||||
ENDDO
|
||||
ENDDO
|
||||
|
||||
|
|
Loading…
Reference in New Issue