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:
pietrodelugas 2016-07-08 15:21:00 +00:00
parent f299158c1f
commit 7f4320ce07
1 changed files with 1 additions and 1 deletions

View File

@ -1243,7 +1243,7 @@ CONTAINS
indstring = 1+(istring-1)*nppstr
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., &
pdl_elec(iat) )
pdl_elec(istring) )
IF (istring .LE. nstring/nspin_lsda) THEN
ispin = 1
ELSE