Bogus error due to overzealous check performed also in the wrong case,

spotted by Guido Fratesi


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11244 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
giannozz 2014-11-05 12:22:13 +00:00
parent c3abe1ee14
commit b840ff37ca
1 changed files with 2 additions and 2 deletions

View File

@ -136,9 +136,9 @@ SUBROUTINE local_dos (iflag, lsign, kpoint, kband, spin_component, &
ENDDO
ENDDO
IF (npool>1) THEN
IF ( iflag == 0 .AND. npool > 1 ) THEN
CALL xk_pool( kpoint, nkstot, kpoint_pool, which_pool )
IF (kpoint_pool<1 .or. kpoint_pool> nks) &
IF ( kpoint_pool < 1 .or. kpoint_pool > nks ) &
CALL errore('local_dos','problems with xk_pool',1)
i_am_the_pool=(my_pool_id==which_pool)
ELSE