mirror of https://gitlab.com/QEF/q-e.git
wrong index in a do loop iat instead of istring
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12577 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
parent
f299158c1f
commit
7f4320ce07
|
@ -1243,7 +1243,7 @@ CONTAINS
|
||||||
indstring = 1+(istring-1)*nppstr
|
indstring = 1+(istring-1)*nppstr
|
||||||
WRITE(mod_string,'("(mod ",I1,")")') mod_elec(istring)
|
WRITE(mod_string,'("(mod ",I1,")")') mod_elec(istring)
|
||||||
CALL qes_init_phase(el_phase, "phase", 0.d0, .FALSE., 0.d0, .FALSE., TRIM (mod_string), .TRUE., &
|
CALL qes_init_phase(el_phase, "phase", 0.d0, .FALSE., 0.d0, .FALSE., TRIM (mod_string), .TRUE., &
|
||||||
pdl_elec(iat) )
|
pdl_elec(istring) )
|
||||||
IF (istring .LE. nstring/nspin_lsda) THEN
|
IF (istring .LE. nstring/nspin_lsda) THEN
|
||||||
ispin = 1
|
ispin = 1
|
||||||
ELSE
|
ELSE
|
||||||
|
|
Loading…
Reference in New Issue